code, but it took me one hour to get it right). :-)
Okay, I see your point.
But I have my own point.
embedding or plumbing tool. I want to know if Lua can do UI? Can Lua
great - I won't spending hours writing C/C++ code to do the work.
1. Customizable toolbar.
2. Copy pathname/delete active file/close all but active.
3. Favofite menu items or my favorite dialog.
4. Open parent folder of an edit file.
5. Insert date/time in various formats.
BTW, the code I added does not bloat SciTE. I think it is about 500
lines roughly.
P.S.
Post by Neil HodgsonI don't believe that all possibly useful commands belong in SciTE.
Each command adds cost in terms of the user's memory and navigation,
application size and support costs. There are several ways of
extending SciTE including external commands and Lua scripts that leave
the core application simple but allow customization. I believe most of
the additions in this set should be added through one of these
extension techniques rather than through an addition to the core
application.
Post by Edward Yang1. Favorite dialog
If you ever used UltraEdit, you will like this. It's just like the one
in UE. The basic idea is that it lets you open very frequently used
files by no more than 3 clicks. The file list is stored at X:\Documents
And Settings\username\Application Data\SciTE.fav.ini. An expmple is like
While this may be helpful for some, I don't feel that it belongs
inside the standard distribution. I'd be more inclined to accept a
favourites menu but even that would have to be much simpler than this.
Post by Edward Yang2. Insert date/time
Insert date/time into current document in several formats
(local/UTC/24/12). Available from the Tools menu.
This is something that should be an add-in probably through Lua.
Post by Edward Yang3. Delete active file
This is also borrowed from UE. It lets you delete current active file (I
myself find it very useful and I use it a lot). Avaiable from Tools menu
and context menu of the file TAB.
This may also be quicker than other ways of deleting files but you
can always set up a tool command to do this. If I was using it, I'd
prefer the buffer to stay so the effect can be easily undone.
Post by Edward Yang5. Toolbar buttons
Added Wordwrap, output pane, run, bookmarks buttons to toolbar for easy
operation.
Uncertain. I'd prefer a mechanism that allowed users to set up the
toolbar themselves. Where did the images come from? These look
familiar but they are not part of the standard Windows set. SciTE must
not distribute image files which mya not be resitributable by me or
others that repackage SciTE. That means that they should be provided
by the platform (and not Visual C++) or be released under an open
source license compatible with SciTE.
Post by Edward Yang6. Other
Includes copying pathname, trimming spaces and opening parent folder of
an edit file.
Copying pathname is somewhat useful although it would be better to
work out how to do this from Lua which may require adding a 'copy to
clipboard' method for Lua. The trimming from end of line can be done
by a regular expression replace or a Lua script. The space conversion
functions didn't work. They could go into the Options | Change
Indentation Settings dialog.
Neil
_______________________________________________
Scite-interest mailing list
http://mailman.lyra.org/mailman/listinfo/scite-interest