Neil,
Its a bit complicated...
Yeah, that too, haha.
I should probably include a couple of your extensions back in my
SciTE. OnKey and UpdateStatusBar are sensible. GetClipboardContents
would be OK if it worked on Windows although it doesn't deal with
encoding issues.
Yeah, when I was trying to write code to get clipboard contents, I took
a look at the paste function and it was over my head, so I didn't
bother. Maybe someone could help in that respect.
I'd probably provide BufferPath(int index) rather
than GetBufferList() on the basis that its the simplest thing that
enables the function.
Then will you have a property or something that returns the number of
open buffers? That will be needed for an iterator (in Lua) that behaves
like GetBufferList()
SwitchToBuffer(int index) is a little clearer
than MenuCommand(1200 + index).
I didn't even realize the latter was a method of doing that...cool!
Having OnStyle would lower the cost of
creating a custom lexer although its only providing a low level
interface and it is one event handler that needs multiple instances
(for different languages) more than others.
Oh, I uncommented that for testing purposes...I'm waiting for a new Lua
library called lpeg to mature some so I can try its fast pattern
matching with dynamic syntax highlighting. It doesn't need to be
available at this moment in time.
Still too scared to include inputdialog.
Well until I (or someone else) writes the inputdialog form in the
SciTE.res file, you don't have to worry ;)
If you have any other questions, or anything to discuss, feel free to ask.
Take care,
-Mitchell;
Neil
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest