From 3f2dc73d5a565121db00f4a0f050a48910b51623 Mon Sep 17 00:00:00 2001
From: Michele Calgaro
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.
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