On 3/16/07, mitchell <[EMAIL PROTECTED]> wrote:
> (1) Is there a way (short of Lua) to get Scite to begin with the > active focus on buffer #1, even if there is there more than one file > loaded at startup? (current behavior as of v1.72 seems to be to focus > on the last buffer loaded.) > I don't think so.
Following up on the hint implicit in Neil Hodgson's reply, I discovered that: "-menucommand:1200" (without the quotes), placed as the last command on the command line, works, at least in Windows. (1201 would view the second buffer, 1202 the third, etc.). Lua intervention is not required, and I'm satisfied with this. But there's nothing in the SciTE documentation to suggest this is the case. SciTEDoc.html badly needs rewriting. This is not the first time I've found that what it says is misleading, or worse, wrong. Here it says: "A few commands are currently available although this will expand in the future. These commands are available:...." and gives a list of only 8 commands; "menucommand" is not one of them. In fact, a much longer list is to be found in SciTEDirector.html, and I suspect that they all work on the command line. However, SciTEDirector.html contains no information about what the valid arguments to menucommand are, nor any indication of where to find them. SciTE/Scintilla is a wonderful piece of work, and I love the editor, but the documentation needs refactoring. I'm not in a position to compile your extension (no C compiler), but I look forward to trying it out when binaries appear (or it is incorporated into the standard release.) Thanks, GF _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
