Word highlighting, simultaneous editing, split views, math evaluation, un/grep, comment reformatting, UAC elevation, complete regexps (PCRE), Lua lexers, DPI awareness and more (XP+)
Notepad 2e is a fork of Notepad2 by Florian Balmer (www.flos-freeware.ch), version 4.2.25.
For information about the original project please see Readme.txt
and Notepad2.txt
.
This document describes 2e-specific features (e for Extended).
For those of you who are unfamiliar with Notepad2:
Notepad2 is a light-weight Scintilla-based text editor for Windows.
It offers no tabs, code folding, autocompletion, or other features
available in IDEs or more complex editors like Notepad++.
It's just 1 portable EXE file and (optionally) 1 INI file.
Some folks use it to replace the standard Notepad.exe
of Windows.
It's also part of TortoiseGit.
License: Notepad2 uses 3-clause BSD license. Notepad 2e follows the same license.
Thanks to Steven Penny for his generous donations! #286 #251
Stable versions are available via GitHub releases.
Archived non-stable daily builds are available from this page.
Latest non-stable x86/non-ICU build is permanently available by this URL.
libboost_regex-vc141-mt-s-x32-1_68.lib
, libboost_regex-vc141-mt-s-x64-1_68.lib
in %BOOST_ROOT%\stage\lib
%BOOST_ROOT_ICU%\stage\lib
and also icuregex64.lib
, icuregex86.lib
Notepad2eTests
), point FileSamplesPath
environment variable to the ...\test\data\Extension
directory. #178Note: x64 configuration is not considered "mainstream" and was poorly tested. #157
One obvious way is to overwrite all Notepad.exe
s inside Windows directory. However, this irritates SFC and may not persist across OS updates.
A better way is using Image File Execution Options
, originally explained here. In short: #157
Notepad2e.exe
somewhere. Program Files (x86)\Notepad2e\
directory is a good place.Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe]
"Debugger"="\"C:\\Program Files (x86)\\Notepad2e\\Notepad2e.exe\" /z"
...="\"D:\\Foo\\Bar\\MyN2e.exe\" /z"
notepad.exe
(in any char case).Now whenever Windows needs to launch Notepad.exe
it will launch the EXE you have specified instead.
To undo, replace last line above with "Debugger"=-
and import the key.
This describes the algorithm used in Notepad2 and this fork. The process is fully Unicode-safe.
All settings are stored in a single INI file. If the program cannot find it, then default settings are used and changes to them are lost when the process exits. To make settings persistent, either put bin\Notepad2e.ini near the EXE or create one from scratch by pressing F7 (Settings > Save Settings Now).
The following locations are checked for an existing INI file, in order:
/f SOME.INI
command-line switch (relative to program's dir, with possible %env%
vars). /f0
forces no INI file even when explicitly asked for one (e.g. by F7).PROGRAM.ini
, where PROGRAM
is the EXE's name without .exe
extension, is searched in:
%APPDATA%
%PATH%
Notepad2.ini
(Notepad 2e is a drop-in replacement so its INI file works with Notepad2 and vice-versa).Notepad2.ini
key from [Notepad2]
section is read and checked:
%env%
vars expanded) to an existing file - it's used as the INI%env%
vars expanded) - it's searched in the same folders as PROGRAM.ini
(above) and used, if foundIf the located INI path (PATH
below) is a directory rather than a file or it ends with \
then:
PATH\PROGRAM.ini
exists, it's used as the INI filePATH\Notepad2.ini
exists, it's used as the INI filePATH\PROGRAM.ini
is used anywayFinally, if the INI's parent directory doesn't exist - it's created.
The [NEW]
mark indicates a new major feature introduced by Notepad 2e. Items without this mark are changes (or minor features added) compared to the original Notepad2.
Marks of this form: #123
refer to specific issues - read them for more details behind a feature.
Notepad2 has no documentation per se but only this FAQ that explains many interesting features.
Word under cursor is highlighted in one of 3 modes: #27 #1
Warning: when word wrapping is enabled, highlighting assumes that entire bottom line is visible even if it has invisible sublines (wrapped continuations).
Related settings:
HighlightSelection
MaxSearchDistance
Allows simultaneous editing of all occurrences of the same string as the selection. Enter the mode with Ctrl+Tab (all visible substrings) or Ctrl+Backtick (limit substrings to those on the same line). Escape cancels all changes, while Enter or any command that causes cursor to leave the selected block - commits them. #18
Note: when selection is empty, this mode affects word near the cursor, and finds other substrings case-insensitively. When selection is non-empty - case-sensitive search is performed, and word boundaries are not checked.
This mode allows easy renaming of variables, typo corrections and so on.
Below, with cursor within foo
pressing Ctrl+Tab will enter this mode and any change you do (such as typing bar
) will edit all of the three foo
s at the same time:
$foo = "foo";
print($foo);
Warning: when word wrapping is enabled, highlighting assumes that entire bottom line is visible even if it has invisible sublines (wrapped continuations), thus you might be editing occurrences on those sublines without seeing them.
Related settings:
In certain cases (such as in current selection), the file size group in the status bar is replaced with a recognized math expression's result. Left-click on the group copies result to the clipboard (as it appears), right-click toggles the base (bin, oct, dec, hex). #261
12,30 + ,1
= 12.40. This allows more resistance to locale-specific delimiters., $
. Whitespace is ignored unless it separates operands/operators.=
then the =
and everything after it is ignored. Useful for checking calculations: 1+2=4
evaluates to 3.12,3 45.6 $78 10h
= 123+45.6+78+16
= 262.6. #72
e
symbol by itself in this special case (as in scientific notation or as a const), e.g. 1e2
or 1 e 2
- due to implementation nuances, it may not be processed as expect. But it can be part of a hex number: eh 0xe
= 28. #130The following expression tokens are recognized:
( ) + - * / ^
(caret works as power)0x
b o d h
Related settings:
MathEval
Vim-like Edit > Find Next/Previous Word (Ctrl+[Shift]+8) commands for quick case-insensitive navigation between highlighted words. It's independent of highlight mode settings and of normal Find/Replace and doesn't affect the latter's state. #38
If there's no selection then these search for word at cursor (or for nearby next/previous word). If there's selection then these search for previously used word (not for selection!) starting after last selected symbol.
Related settings:
FindWordMatchCase
FindWordWrapAround
Vim-like Edit > Lines > New Line Above/Below (Ctrl+Alt+Enter, Ctrl+Shift+Enter) commands that insert a line regardless of which column the cursor is positioned at.
If Auto Indent is enabled and the caret is already at line start/end (whitespace excluded) - indentation of the previous line is used, otherwise - of the current line. #67
Shift+Tab always unindents selected lines (or current line if empty), even if the caret isn't at line start (exactly as Edit > Block > Unindent). #128
Tab's behaviour is not changed, it still indents to the column. #61
ScrollYCaretPolicy
. #41 #279
File > Open Previous (Alt+G) command lets you toggle between two most recent History files with one keystroke. #8
File > History (Alt+H) now pre-selects the target for Alt+G: #209
This allows faster list navigation skipping first and second items (which are directly accessible via F5 and Alt+G).
Open Dialog allows opening by prefix - so instead of typing the full file name or selecting a file with your mouse you can only type the name's beginning and hit Enter (or click Open) to open the first matching file. #19
Note: prefix cannot match one of reserved file system names such as NUL
and CON
(case-insensitive).
Users of Windows 7 and above are advised to enable Explorer autocompletion instead, which offers a similar experience in other system dialogs: #165
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete]
"Append Completion"="yes"
Related settings:
OpenDialogByPrefix
File > Save On Lose Focus submenu allows automatic saving of the document when program's window loses focus, similarly to Vim's au FocusLost * :wa
. Saving doesn't occur if any of these is true: #164
Related settings:
SaveOnLoseFocus
File > Open Next/Previous commands allow opening files going before/after the currently opened file in its directory #43 based on last used Open/Save File Dialog filter (Any, *.*
by default, see #258) #277.
These commands have no hotkeys but they can be added as buttons to the toolbar.
Notes:
FindFirstFile()
doesn't support multiple ;
-separated filters like File Dialogs do. If such a filter was used, these buttons will not work.When saving, new file's extension is determined first by DefaultExtension
setting (as in Notepad2) but if current file was previously opened from or saved to disk then its old extension is used as the default (even if that extension is empty). #17
When saving, if the given new file name ends on period then the file is saved without extension. Example: enter Makefile.
to get Makefile
on disk.
FileDlgFilters
under [Settings2]
, e.g. DOC Files (.doc)|.doc|RTF Files (.rtf)|.rtf
. [NEW] Last used filter is now saved for Open/Save File Dialogs. #258<p>
without </p>
appearing after the line break. #30{ ( [
in addition to <
when auto filling Closing tag. Example: {{#if var}}
produces {{/if}}
, [quote]
produces [/quote]
. #36{{ #if }}
is the same as {{#if}}
and produces {{/if}}
, not {{/}}
as in Notepad2.<
and >
. Useful when editing certain markup. #24abc567.89
navigates to 567. #140-9 A-Z a-z
are removed.0-9
then use it as a decimal offset and return.0x
and/or h
.0-9 A-F a-f
then use it as a hexadecimal offset and return.ShellMenuType
. #12
size:-2;fore:#ff0000
to size:-1
.(a|b)
, backreferences \1
(both in Search and Replace Strings) and other features. #90 #114\l
(one next symbol becomes lower-case), \L
(all following become lower-case), \u
and \U
(similar but for upper-case), \E
(cancels effect of the preceding \L
and \U
). Example: replace from (.)(.)
to \l\1\u\2
.\U
and others to work on non-ASCII symbols. #162
\w
, \pL
, etc.) work even in non-ICU versions.\0
) - normally it truncates the buffer.\n
and $n
) and unlike in PHP they are used differently: #145Backreference | Allowed in Search | Allowed in Replace |
---|---|---|
\0 |
No | No - use $0 or $& |
\n with n > 0 |
Yes | Yes |
$0 |
No - $ = EOL |
Yes - alias $& |
$n with n > 0 |
No | Yes |
Bottomline: use \n
(n > 0) everywhere except for full-match in Replace - there use $0
.
foo
+ space produces space + (foo)
+ space instead of ( foo )
.「
, etc.) on XP install the Asian support pack (Control Panel > Regional And Language Options > Languages, tick the first checkbox). Later Windows versions come with this preinstalled.{ ( [ <
then "after" is set to the same number of } ) ] >
.` ~ ! @ # % ^ * - _ + = | \ / : ; " ' , . ?
These changes make editing Markdown and wiki sources much more pleasant: [[foo|bar]]
, **foo bar**
. #37
( { [ <
around the caret (whichever bracket type appears first). Respects nesting. #39" '
(and backtick) around the caret (text is scanned to the left to determine the quote type). Does not account for nesting or escaping. Multiline.
Split Edit > Special submenu into 2 submenus: Special and Encode. #201
HTML data:
<tags>
inside selection, or if there's none - removes first tag before cursor. #40< > &
into < > &
respectively (inside selection or everywhere in the document if selection is empty). #51 #31Binary data:
bin2hex()
and hex2bin()
. Hex To String ignores whitespace (#123). Output: 616263
for abc
. #87quoted_printable_encode()
and quoted_printable_decode()
. Output: ab=3Dc
for ab=c
. See RFC2045, Section 6.7 (this format is typically used in vCards and MIME). #124base64_encode()
and base64_decode()
. Base64 Decode ignores whitespace. Output: YWJj
for abc
. #122Other data:
UrlEncodeMode
setting for predictable processing according to RFC 3986. #189Rolling mouse wheel while holding Ctrl scrolls the document by entire pages (like Page Up/Down) - makes it easier to navigate long scripts. #11 #217
Related settings:
WheelScroll
WheelScrollInterval
/gs start:end
switch sets initial selection by file offsets (see #233). end
can be -1
for EOF. #249
/g
switch to set initial line by its number.Ability to keep current line highlighted even if the window is not focused (especially useful when using Windows' X-Mouse feature).
Related settings:
HighlightLineIfWindowInactive
When dropping an object from another application on an empty line - line break is added automatically. #63 #110
When dropping a single file, Notepad2 opens it. [NEW] When dropping multiple files, they are concatenated into a fresh (File > New) buffer. #250
cat
/copy
they can use different encoding/line breaks if Notepad2 can detect them.Go To Last Change (Ctrl+Shift+Z) command moves caret to the position of last Undo action. Useful when making a change, scrolling to confirm something and then navigating back to continue. #6
Window's title reflects current keyboard language, if configured with TitleLanguage
. For example: Untitled - Notepad 2e [RU]
. #86
Related settings:
TitleLanguage
Menu bar can display the clock in the configured format. For example: 07/05/19 - 13:53
. The text is updated every 10 seconds. #210
Related settings:
ClockFormat
tail -f
) #129 and reliable (works over network shares; no longer relies on FindFirstChangeNotification
, only on file time polling) #241.$(L)
and others) are inserted into a focused input instead of replacing its value. #119\r
and \n
) are removed from Search/Replace (of Find/Replace, Ctrl+F/H) and Prefix/Append (of Modify Lines, Alt+M) inputs (could appear after pasting). #70 #173MoveCaretOnRightClick
.L
) in the status bar (in regular and rectangular modes). B
is for selection length in bytes. #204 #262Pos
) in the status bar. #233rand()
. #221< >
too. #283WordNavigationMode
.[Toolbar Labels]
INI section. #150<supportedOS>
manifest entries for Windows 10/8.1/8 (Server 2016/2012/R2), in addition to Windows 7/Vista (Server 2008/R2). #159&
accelerators in File, Edit and Settings. #197 #276Setting | Old Value | New Value |
---|---|---|
Long Line | 72 | 80 |
WebTemplate1
(or WebTemplate2
) setting in the INI to https://google.com/search?q=%s
and then press Ctrl+Shift+1-2 with non-empty selection - you will be navigated to that URL (%s
replaced with a selection string, not URL-encoded).^c
- clipboard contents is used instead of this string./B
flag, it enters "Pasteboard mode" where new content on the clipboard is automatically added to the buffer.[Custom Colors]
INI section is used to fill the "Custom colors" control of Fore/Back color pickers in Customize Schemes. #149
[NEW] These syntax schemes were added:
awk
#216CSS syntax scheme was improved:
//
-inline comments (Ctrl+Q) that are used in LESS, SASS and other preprocessors. #4CSSSettings
.HTML syntax scheme was improved:
Lua syntax scheme was improved:
--...
and multi-line comments: --[[...]]
. #111Scintilla's LPegLexer was enabled to allow defining new syntax schemes in Lua.
Warning: Lua is a fully functional language so allowing untrusted files inside LPegPath
IS A VERY BAD IDEA as it allows execution of arbitrary code via Notepad 2e.
LPegPath
INI setting (that is empty by default, disabling support for LPeg).Configuration guide:
LPegPath
under [Notepad2e]
in your Notepad2e.ini
file. Its value is relative to the EXE location and can contain %variables%
.[Notepad2e]
LPegPath=lexlua
LPegPath
(so it needs write access unless they already exist).
LPegPath
.LPegPath
under the name file_extension + .lua
. For example: pas.lua
for *.pas
files. Then, open View > Customize Schemes (Ctrl+F12) and select LPeg Lexer
in the end of the list and enter all extensions you want to be handled by LPeg (e.g. pas;dpr
).
LPeg Lexer
in the list then your Notepad 2e version wasn't built with LPeg support.LPeg Lexer
under View > Syntax Scheme (F12; it's checked by default) and make sure other schemes don't have extensions listed for LPeg Lexer
. Else you can uncheck it and be picking LPeg manually (but you still need extensions configured - LPeg will render others as Default Text).In the end, your LPegPath
should contain these files:
themes\default.lua - required, created by Notepad 2e if missing
lexer.lua - required, created by Notepad 2e if missing
pas.lua - lexer for *.pas files, created by you
... - other lexers
themes\
defines display colors. Notepad 2e doesn't support switching themes so it only uses default.lua
.lexlua
folder, but you need to rename files in accordance to file extensions they highlight).Settings in this section extend Notepad2's values and thus appear under its own INI groups, normally under [Settings]
.
Type | Default | Set By UI |
---|---|---|
int | 1 (if INI exists) | Settings > Save Settings On Exit |
Causes the program to save its settings on exit. Any changes to the INI file from the time this process was started are overwritten.
Saving is only possible when an INI file exists. The easiest way to create it is using Save Settings Now (F7) command.
Value | Meaning |
---|---|
0 | Don't save settings |
1 | Save all settings |
2 | [NEW] Save only Recent Files and Search Strings but no settings |
Notepad2 stores all of its settings in Notepad2.ini
(or rather in exe_base_name.ini
).
Notepad 2e uses the same file but puts its settings under the [Notepad2e]
group.
Type | Default | Set By UI |
---|---|---|
int, bool | 0 |
Enables creation of debug log file n2e_log.log
in the program's folder.
Type | Default | Set By UI |
---|---|---|
int, bitfield | 2 |
Extend standard CSS highlighting to support:
Bit | Type |
---|---|
1 | Sassy |
2 | LESS |
4 | HSS |
It's a bitfield so bits can be combined: 3 = Sassy + LESS.
Type | Default | Set By UI |
---|---|---|
int, bool | 0 |
These control Ctrl[+Shift]+8 search like normal Find dialog flags.
The Match whole word only flag is always enabled for those commands so it can't be customized.
Type | Default | Set By UI |
---|---|---|
int, bool | 0 |
If 0, current line is stops being highlighted when window is inactive (default Notepad2 behaviour).
If 1, highlighting is independent of window focus (always visible if enabled).
Type | Default | Set By UI |
---|---|---|
int | 1 |
Indicates if Open File dialog can be submitted even if just a prefix of an existing file's name was entered.
Windows 7+ have a registry preference that enables autocompletion in various places (Win+R, Open/Save dialogs, Explorer windows, etc.). Its effect on Open File dialogs is similar to this Notepad 2e feature. Enabling both doesn't cause any trouble but it makes more sense to have only one of them active. #165
Value | Meaning |
---|---|
0 | Don't enable, use native Windows behaviour |
1 | Enable unless Explorer autocompletion is enabled |
2 | Always enable |
Type | Default | Set By UI |
---|---|---|
int | 0 |
Sets vertical margin for commands that can scroll the buffer, including:
Value | Meaning |
---|---|
0 | Margin of 4 extra lines (as in Notepad2) |
1 | 33% margin |
2 | 50% margin (central line) |
Type | Default | Set By UI |
---|---|---|
int | 1 | Settings > Evaluate Math Expressions |
Controls math expression evaluation. #88
Value | Meaning |
---|---|
0 | No evaluation (as in Notepad2) |
1 | Evaluate selection or, if empty - entire current line (if it's a valid expression) |
2 | Evaluate selection only (if it's a valid expression) |
Type | Default | Set By UI |
---|---|---|
int | 2 | Settings > Window Title Display |
Controls keyboard language display in window's title.
Value | Meaning |
---|---|
0 | No indication (as in Notepad2) |
1 | Always add language name as in ... [RU] |
2 | As 1 but don't add if the language is English (EN ) |
Type | Default | Set By UI |
---|---|---|
str, strftime() |
Controls format of the date/time indicator in the menu bar. If empty, it's hidden.
Value is a standard strftime()
format string composed of %smth
sequences to be replaced by the corresponding values. Useful variables:
Variable | Meaning | Example |
---|---|---|
%% | The percent symbol itself | % |
%Y | Year | 2019 |
%y | Short year | 19 |
%B | Month name | July |
%b | Short month name | Jul |
%m | Month | 07 |
%V | Week of the year | 27 |
%j | Day of the year | 186 |
%e | Day | 5 |
%A | Weekday name | Friday |
%a | Short weekday name | Fri |
%H | Hour in 24-hour format | 14 |
%I | Hour in 12-hour format | 02 |
%p | Locale-dependent A.M. or P.M. | P.M. |
%M | Minute | 03 |
%S | Second | 25 |
%c | Locale-dependent standard date/time | Fri Jul 5 14:03:25 2019 |
%x | Locale-dependent standard date | 07/05/19 |
%X | Locale-dependent standard time | 14:03:25 |
%Z | Locale-dependent time zone | Russia TZ 2 Standard Time |
Full reference: https://en.cppreference.com/w/cpp/chrono/c/strftime
Type | Default | Set By UI |
---|---|---|
int, bitfield | 0 |
Controls behaviour of Shell Menu (Ctrl+Shift+R). For values see uFlags
at this page:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb776097(v=vs.85).aspx
These flags affect how the menu looks like and which commands are available; it's highly dependent on the OS and particular environment. Useful values you may try in case of problems (mainly on Windows XP):
ShellMenuType=16
ShellMenuType=4
Bit | Type |
---|---|
0x00000000 | NORMAL |
0x00000001 | DEFAULTONLY |
0x00000002 | VERBSONLY |
0x00000004 | EXPLORE |
0x00000008 | NOVERBS |
0x00000010 | CANRENAME |
0x00000020 | NODEFAULT |
0x00000040 | INCLUDESTATIC |
0x00000080 | ITEMMENU |
0x00000100 | EXTENDEDVERBS |
0x00000200 | DISABLEDVERBS |
0x00000400 | ASYNCVERBSTATE |
0x00000800 | OPTIMIZEFORINVOKE |
0x00001000 | SYNCCASCADEMENU |
0x00002000 | DONOTPICKDEFAULT |
0xFFFF0000 | RESERVED |
Type | Default | Set By UI |
---|---|---|
int, bool | 1 | Settings > Ctrl+Wheel Scroll |
If 0 then Ctrl+Wheel changes zoom level (Notepad2 behaviour).
If 1 then Ctrl+Wheel scrolls the document by entire pages.
Type | Default | Set By UI |
---|---|---|
int, ms | 50 ms |
When using Ctrl+Wheel, buffer will be scrolled at most once per this interval. Edit it if the program skips wheel rotations or is too sensitive.
Necessary because Windows fires a handful of wheel scroll events per one real scroll.
Type | Default | Set By UI |
---|---|---|
int, bool | 1 | Settings > Move Caret On Right Click |
If 0 - caret is not moved and selection is not changed on right mouse button click. #54
Type | Default | Set By UI |
---|---|---|
int, bool | 0 | Settings > Ctrl+Arrow Navigation |
Controls Ctrl+Arrow navigation. If 1, enables "accelerated" mode where only whitespace is considered a word boundary, not punctuation, brackets, etc. (useful when working with natural language texts, not program code). #89 #156
Type | Default | Set By UI |
---|---|---|
int, bool | 1 |
If 0, use Notepad2's behaviour calling UrlEscape with URL_ESCAPE_SEGMENT_ONLY
.
If 1, perform full URL encoding/decoding per RFC 3986.
Type | Default | Set By UI |
---|---|---|
int | 0 | File > Save On Lose Focus |
Controls if current document is saved when window loses focus, except under certain conditions.
Value | Meaning |
---|---|
0 | Don't save |
1 | Save |
2 | Save, and when a new file is opened or created, reset this setting to 0 |
Type | Default | Set By UI |
---|---|---|
str, path | (empty) |
Enables LPeg Lexer support. Ignored in non-LPeg versions. If empty, Lua is disabled.
Settings in this section that begin with _
have variations depending on highlighting conditions; all variations have the same format and meaning but may have different default values and apply in different situations.
Prefix | Conditions |
---|---|
(none) | Multiple occurrences, some are not visible on screen |
Page | Multiple occurrences, all are visible on screen |
Single | Single occurrence |
Edit | Edit Mode active |
For example, _SelectionType
expands to the following settings:
SelectionType
PageSelectionType
SingleSelectionType
EditSelectionType
Type | Default | Set By UI |
---|---|---|
int, bool | 1 | View > Highlight Current Word |
If 1, enables both current word highlighting and Edit Mode. Edit Mode doesn't work if highlighting is disabled.
Type | Default | Set By UI |
---|---|---|
int, KiB | 96 KiB |
Maximum lookahead/behind distance for word highlighting. If too large, navigation in big files will lag since it will search the buffer for twice this length (back & forward) on every position change. #53 #42
Type | Default | Set By UI |
---|---|---|
int | 7 (INDIC_ROUNDBOX - Page , Edit ), 6 (INDIC_BOX - others) |
Decoration type. Value 5 disables this condition indication (other settings are ignored) - can be used, for example, to disable special rendering of Single
occurrence.
Edit
(and other modes), 5 disables indication only - Edit Mode still continues to work. Note that value 0 doesn't disable indication as one might think (see the table below and #146 for the why).HighlightSelection
setting as it removes all highlighting overhead.MaxSearchDistance
.For details and examples see: http://www.scintilla.org/ScintillaDoc.html#Indicators
Symbol | Value |
---|---|
INDIC_PLAIN | 0 |
INDIC_SQUIGGLE | 1 |
INDIC_TT | 2 |
INDIC_DIAGONAL | 3 |
INDIC_STRIKE | 4 |
INDIC_HIDDEN | 5 |
INDIC_BOX | 6 |
INDIC_ROUNDBOX | 7 |
INDIC_STRAIGHTBOX | 8 |
INDIC_FULLBOX | 16 |
INDIC_DASH | 9 |
INDIC_DOTS | 10 |
INDIC_SQUIGGLELOW | 11 |
INDIC_DOTBOX | 12 |
INDIC_SQUIGGLEPIXMAP | 13 |
INDIC_COMPOSITIONTHICK | 14 |
INDIC_COMPOSITIONTHIN | 15 |
INDIC_TEXTFORE | 17 |
INDIC_POINT | 18 |
INDIC_POINTCHARACTER | 19 |
Type | Default | Set By UI |
---|---|---|
int | 50 (Page , Edit ), 0 (others) |
Opacity value (0-255) for foreground highlight color.
Type | Default | Set By UI |
---|---|---|
int | 255 (Page , Edit ), 0 (others) |
Opacity value (0-255) for highlight outline color.
Type | Default | Set By UI |
---|---|---|
str, BGR | Varies (below) |
Condition | Default (RGB) |
---|---|
Multiple invisible | #00AA00 |
Page | #999900 |
Single | #900000 |
Edit | #0000FF |
Foreground highlight color like 0xFF0000
(blue - not RGB!).
Type | Default | Set By UI |
---|---|---|
int, bool | 1 (under - Page , Edit ), 0 (over - others) |
Corresponds to Scintilla's SCI_INDICSETUNDER:
[...] whether an indicator is drawn under text or over (default).