diff options
Diffstat (limited to 'doc/other')
-rw-r--r-- | doc/other/Lexer.txt | 4 | ||||
-rw-r--r-- | doc/other/ScintillaDoc.html | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/other/Lexer.txt b/doc/other/Lexer.txt index 9d4ab50..3752994 100644 --- a/doc/other/Lexer.txt +++ b/doc/other/Lexer.txt @@ -129,7 +129,7 @@ using an encoding such as Shift-JIS. In these encodings, extended Lead bytes are rarely of any lexical significance, normally only being allowed within strings and comments. In such contexts, lexers should -ignore ch if styler.IsLeadByte(ch) returns TRUE. +ignore ch if styler.IsLeadByte(ch) returns true. Note: UTF-8 is simpler than Shift-JIS, so no special handling is applied for it. All UTF-8 extended characters are >= 128 and none are @@ -149,7 +149,7 @@ During initialization, lexers that support folding set bool fold = styler.GetPropertyInt("fold"); -If folding is enabled in the editor, fold will be TRUE and the lexer +If folding is enabled in the editor, fold will be true and the lexer should call: styler.SetLevel(line, level); diff --git a/doc/other/ScintillaDoc.html b/doc/other/ScintillaDoc.html index d82f9fc..77da728 100644 --- a/doc/other/ScintillaDoc.html +++ b/doc/other/ScintillaDoc.html @@ -799,8 +799,8 @@ struct TextToFind { <b id="SCI_GETOVERTYPE">SCI_GETOVERTYPE</b><br /> When overtype is enabled, each typed character replaces the character to the right of the text caret. When overtype is disabled, characters are inserted at the caret. - <code>SCI_GETOVERTYPE</code> returns <code>TRUE</code> (1) if overtyping is active, otherwise - <code>FALSE</code> (0) will be returned. Use <code>SCI_SETOVERTYPE</code> to set the overtype + <code>SCI_GETOVERTYPE</code> returns <code>true</code> (1) if overtyping is active, otherwise + <code>false</code> (0) will be returned. Use <code>SCI_SETOVERTYPE</code> to set the overtype mode.</p> <h2 id="CutCopyAndPaste">Cut, copy and paste</h2> @@ -829,7 +829,7 @@ struct TextToFind { <code>SCI_GETSELECTIONSTART()-SCI_GETSELECTIONEND()</code>, which will be non-zero if you can copy or cut to the clipboard.</p> - <p>GTK+ does not really support <code>SCI_CANPASTE</code> and always returns <code>TRUE</code> + <p>GTK+ does not really support <code>SCI_CANPASTE</code> and always returns <code>true</code> unless the document is read-only.</p> <p>On X, the clipboard is asynchronous and may require several messages between @@ -2373,7 +2373,7 @@ struct TextToFind { for <code>WM_PALETTECHANGED</code>, <code>WM_QUERYNEWPALETTE</code> and <code>SCI_SETUSEPALETTE</code>. The Windows messages to forward are:<br /> <code>WM_SYSCOLORCHANGE</code>, <code>WM_PALETTECHANGED</code>, - <code>WM_QUERYNEWPALETTE</code> (should return <code>TRUE</code>).</p> + <code>WM_QUERYNEWPALETTE</code> (should return <code>true</code>).</p> <p>To forward a message <code>(WM_XXXX, WPARAM, LPARAM)</code> to Scintilla, you can use <code>SendMessage(hScintilla, WM_XXXX, WPARAM, LPARAM)</code> where <code>hScintilla</code> is |