aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2020-10-27 10:42:08 -0400
committerGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2020-10-27 10:42:08 -0400
commit9809b072113fa6c39c65e323c5cb1bd2149fa46c (patch)
tree9eb65138058db326c9f2481de7db1331abab4c89 /docs
parentaa141bc281d4895273fe1f9b7003f379a7abfb8f (diff)
Updated LuaDoc.
Diffstat (limited to 'docs')
-rw-r--r--docs/api.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/api.md b/docs/api.md
index 5452dc23..3160a1eb 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -6189,6 +6189,9 @@ defined by lexers.
`regex`, `string`, `type`, `variable`, `whitespace`: Some token names used
by lexers. Some lexers may define more token names, so this list is not
exhaustive.
+* *`lang`*`_whitespace`: A special style for whitespace tokens in lexer name
+ *lang*. It inherits from `whitespace`, and is used in place of it for all
+ lexers.
Style definition tables may contain the following fields:
@@ -6556,7 +6559,8 @@ The word highlight mode.
<a id="textadept.editing.strip_trailing_spaces"></a>
#### `textadept.editing.strip_trailing_spaces` (bool)
-Strip trailing whitespace before saving files.
+Strip trailing whitespace before saving files. (Does not apply to binary
+ files.)
The default value is `false`.