From 3f2dc73d5a565121db00f4a0f050a48910b51623 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 4 Apr 2025 13:24:41 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro --- doc/other/ScintillaDoc.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/other/ScintillaDoc.html') 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 { SCI_GETOVERTYPE
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. - SCI_GETOVERTYPE returns TRUE (1) if overtyping is active, otherwise - FALSE (0) will be returned. Use SCI_SETOVERTYPE to set the overtype + SCI_GETOVERTYPE returns true (1) if overtyping is active, otherwise + false (0) will be returned. Use SCI_SETOVERTYPE to set the overtype mode.

Cut, copy and paste

@@ -829,7 +829,7 @@ struct TextToFind { SCI_GETSELECTIONSTART()-SCI_GETSELECTIONEND(), which will be non-zero if you can copy or cut to the clipboard.

-

GTK+ does not really support SCI_CANPASTE and always returns TRUE +

GTK+ does not really support SCI_CANPASTE and always returns true unless the document is read-only.

On X, the clipboard is asynchronous and may require several messages between @@ -2373,7 +2373,7 @@ struct TextToFind { for WM_PALETTECHANGED, WM_QUERYNEWPALETTE and SCI_SETUSEPALETTE. The Windows messages to forward are:
WM_SYSCOLORCHANGE, WM_PALETTECHANGED, - WM_QUERYNEWPALETTE (should return TRUE).

+ WM_QUERYNEWPALETTE (should return true).

To forward a message (WM_XXXX, WPARAM, LPARAM) to Scintilla, you can use SendMessage(hScintilla, WM_XXXX, WPARAM, LPARAM) where hScintilla is -- cgit v1.2.3