smol/syntax
David Lawrence Ramsey bb4d0d548a new feature: allow lines to be softwrapped at whitespace
Extend get_softwrap_breakpoint() to break softwrapped lines on
whitespace when a flag is set.  This flag is controlled by the new
rcfile option "atblanks".  The '>' characters marking two-column
characters at the edge of the screen are disabled when it's on.

If get_softwrap_breakpoint() can't find whitespace in screen range, it
will break the line on the screen edge.  (In this case, a blank can be
on the last column of the screen, but text can't, so that a blank on the
last column doesn't become invisible and possibly break the display.)

This fulfills https://savannah.gnu.org/bugs/index.php?49959.
Requested-by: Nicholas Boel <axxisd@gmail.com>
2017-07-07 13:07:10 +02:00
..
Makefile.am help: use a dedicated syntax to color shortcuts in a help text 2017-04-25 17:21:46 +02:00
asm.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
autoconf.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
awk.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
c.nanorc syntax: c++: add override keyword 2017-02-21 17:46:07 +01:00
changelog.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
cmake.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
css.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
debian.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
default.nanorc syntax: default: allow leading whitespace before a hash comment 2017-05-23 20:07:15 +02:00
elisp.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
fortran.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
gentoo.nanorc syntax: gentoo: make it clearer that the file contains two syntaxes 2017-07-02 20:27:04 +02:00
go.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
groff.nanorc docs: remove the mention of backslashes for the argument of 'comment' 2017-07-07 10:15:17 +02:00
guile.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
html.nanorc syntax: html: be more precise with tags, and paint attribute names 2017-01-08 11:32:30 +01:00
java.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
javascript.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
json.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
lua.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
makefile.nanorc syntax: makefile: color comments only at start of line or after whitespace 2017-05-09 17:37:05 +02:00
man.nanorc docs: remove the mention of backslashes for the argument of 'comment' 2017-07-07 10:15:17 +02:00
mgp.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
mutt.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
nanohelp.nanorc syntax: nanohelp: color also ^6 as a shortcut keystroke 2017-05-07 20:00:52 +02:00
nanorc.nanorc new feature: allow lines to be softwrapped at whitespace 2017-07-07 13:07:10 +02:00
nftables.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
objc.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
ocaml.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
patch.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
perl.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
php.nanorc syntax: php: color "static" again as "function", like it used to be 2017-05-21 10:11:42 +02:00
po.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
postgresql.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
pov.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
python.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
ruby.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
rust.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
sh.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
spec.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
tcl.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
tex.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
texinfo.nanorc build: move the syntax files out of the doc/ directory 2016-12-30 22:05:01 +01:00
xml.nanorc syntax: xml: recognize an XML file also by its first line 2017-05-07 20:02:20 +02:00