a tool someone gave me, but I forget who it was.
The tool works perfectly with the latest Scintilla version, but I'd like to make it a little flexible.
The Caret Tool is simply these 2 lines :
Code: Select all
ScintillaHandle = Val(GetEnvironmentVariable("PB_TOOL_Scintilla"))
SendMessage_(ScintillaHandle, #SCI_SETCARETWIDTH, 9, 0)
Code: Select all
ScintillaHandle = Val(GetEnvironmentVariable("PB_TOOL_Scintilla"))
n = val(%WORD)
if n<3
n = 3
endif
SendMessage_(ScintillaHandle, #SCI_SETCARETWIDTH, n, 0)
Can someone show me how that can be done ?