So does this means that you would invite other folks to implement a way to change menus in Scite after the app is loaded?
I mostly know windows and I've been looking at the Scite code, I could make a stab at the windows side of such an effort though someone else would have to do the GTK side. Hans --- Neil Hodgson <[EMAIL PROTECTED]> wrote: > > The situation has changed more since then. On > GTK+ there is the > newer GtkAction API introduced in GTK+ 2.4. > http://www.gtk.org/api/2.6/gtk/gtk-migrating-GtkAction.html > SciTE still uses the older API but requiring at > least 2.4 for SciTE > (not for Scintilla) is reasonable. > > For Pentacle, I still couldn't find much in > common between Windows > and GtkAction so used the technique of completely > deleting the menus > and recreating them whenever anything changed. > Complete menu rebuilds > may be too slow or flickery on some systems so may > not be appropriate > for SciTE but it could be implemented to find out. > The code can be > seen in the SetMenus method in PentacleGTK.py and > PentacleWin.py > > http://scintilla.cvs.sourceforge.net/scintilla/sinkworld/tentacle/python/PentacleGTK.py?revision=1.3&view=markup > http://scintilla.cvs.sourceforge.net/scintilla/sinkworld/tentacle/python/PentacleWin.py?revision=1.12&view=markup > > > Also, a nice feature would be the ability to write > to > > the message bar. > > If you mean the status bar then the normal thing > to do is to write > to a property and then include that property in the > statusbar > property. As seen previously ... > > function OnUpdateUI() > props["CurrentStyle"] = > editor.StyleAt[editor.CurrentPos] > end > > statusbar.text.1=Style=$(CurrentStyle) > > > Should I be making feature requests here or there > a > > sourceforge interface preferred? > > It won't make much difference. I don't think > there is anyone > looking for things to add to SciTE - instead > progress is made when > someone wants a feature and implements it > themselves. The SourceForge > page is a little easier to search and allows > attachments for proposed > implementations but is less likely to provoke > discussion. > > Neil > _______________________________________________ > Scintilla-interest mailing list > [email protected] > http://mailman.lyra.org/mailman/listinfo/scintilla-interest > ____________________________________________________________________________________Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433 _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
