Hi Ben,


Another control that would be nice for lua extensions would be a text input. I'm thinking of something similar to the incremental search, but would disapear after the user pressed enter. This could be called in lua:

input = editor:TextInputDialog()

Or something similar.
That would be cool. I am somewhat familiar with c++. How hard would this be, and where would be a good place to start?

I have this feature in my version of SciTE (linux/gtk only unfortunately). http://caladbolg.net/scite.php. Either download or browse my repository (including the README). My implementation is SciTEGTK::InputDialog and the appropriate Lua extension global is 'inputdialog'. I haven't implemented this in windows because I have no way of editing .rc files and I have found no way to dynamically expand or shrink the text field depending on the length of text in the label (GTK does this nicely).


By the way, is there a way to prevent every extension from showing in the Tools menu?

That I do not know. I suspect not...

-Mitchell;

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

Reply via email to