mitchell:

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 think what you are after is to retrieve the clipboard contents as
if it was going into the current buffer. Maybe that can be an
extension to the paste code which knows about things like different
clipboard formats.

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()

props['buffers']

> 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.

  Since the Extension and ExtensionAPI interfaces are
used/implemented by external projects, they should be versioned as
rarely as possible so I'd prefer to save up a bunch and apply all at
once. Not a big deal to add a method to ExtensionAPI since old
extensions won't call it but an old extension will fail to build or
crash if SciTE calls a method added to Extension.

  Neil
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to