Re: [scite] An Idea For Menus

2007-06-27 Thread Neil Hodgson
Hans Joseph Solbrig: Thank you for the pointer. I merged submenu code into the current Scite I have fairly easily. I can certain see some objectionable aspects to the code: a) It used windows specific code in the base scite files. b) It implements the changes as long loops rather than functi

Re: [scite] SciTEDirectory.properties

2007-06-26 Thread Neil Hodgson
Bambero: As I see SciTEDirectory.properties won't works under linux (gtk). I have: properties.directory.enable=1 But it won't works. Works for me: added properties.directory.enable=1 to user properties, opened directory properties and set caret.fore=#00FF00. Saved and the caret is

Re: [scite] Re: Minimal way to export Lua symbols from SciTE

2007-06-26 Thread Neil Hodgson
mitchell: I find it easier just to link to the Lua library on my system rather than building Lua into SciTE. I find it relatively straightforward in Linux :) The only-dependency-is-GTK policy is a bit of a reaction against some Linux applications which are a pain to install because of the ne

Re: [scite] Odd Behaviour when saving untitled buffers with GTK SciTE

2007-06-26 Thread Neil Hodgson
steve donovan: This gtk_file_chooser_set_filename() line should be replaced with: if (savePath.IsUntitled()) { // saving 'untitled' gtk_file_chooser_set_current_folder(GTK_FILE_CHOOSER(dlg), savePath.Directory().AsInternal()); } else { gtk_file_chooser_set_filename(GTK_FILE_CH

Re: [scite] Modifications of SciTE's exit functions

2007-06-25 Thread Neil Hodgson
Chachereau Nicolas: Here is the result of my attempt to modify the way SciTE exits. I basically implemented what we had discussed: - QuitSignal() now simply calls QuitProgram() - QuitProgram() does calls gtk_main_quit(), not gtk_exit() - CheckForRunningInstance() returns a boolean, and Run

Re: [scite] SciTEGTK destructor not called!

2007-06-25 Thread Neil Hodgson
Steve Donovan: It seems that the SciTEGTK destructor isn't called, because gtk_main() never returns. The culprit is the use of gtk_exit(0) for normal program exit. If one replaces gtk_exit(0) with gtk_main_quit() in SciTEGTK::QuitProgram() and SciTEGTK::QuitSignal(), then gtk_main() returns and

Re: [scite] Strange cursor positioning

2007-06-23 Thread Neil Hodgson
I'd actually prefer that brace highlighting only affect the colour but I lost this argument early in Scintilla's history. If someone wants to implement a mode that highlighting only affects colour or only affects foreground colour, along with a Scintilla API and SciTE property to control it then

[scite] Making Scintilla a wide character window on NT

2007-06-22 Thread Neil Hodgson
Bug #1732146 reports that SciTE does not allow keyboard input for the Armenian language on Windows. This is because Armenian, like Devanagari, Tamil, and Georgian do not have code pages so can only work through Unicode and only on NT and successors, not on Windows 9x. To fix this on NT, Scintill

Re: [scite] New version of scite-gdb

2007-06-21 Thread Neil Hodgson
Steve Donovan: The Director interface under Unix remains a bit klunky. I think for my next project I'll review the code and see if we can work around the inflexibilities without breaking backward compatibility with ScitePM, etc. If there is a better communications technique that is more simi

Re: [scite] Double click close tab?

2007-06-21 Thread Neil Hodgson
instanton: I know that tabs can be closed on middle click in SciTE, but on laptops it is much easier to use left double click. You can also use the context menu. There's enough ways to access this function that it is unlikely I'll include another that is non-standard so won't be expected by

Re: [scite] An Idea For Menus

2007-06-21 Thread Neil Hodgson
Hans Joseph Solbrig: I would like to create code to allow sub-menu and sub-sub-men off the tools menu to be created from properties. This is quite messy. The SciTE-Ru distribution includes a cascading tools menu but I did not include this code because I didn't think it was implemented well.

Re: [scite] Re: Multiple language translations

2007-06-21 Thread Neil Hodgson
instanton: Should Neil make the corresponding changes in the official version? This will greatly help in setting per user language interfaces for instance. You can already change the name of the localisation file by setting the locale.properties property. This hasn't been documented but I ad

Re: [scite] Compiling in two phases

2007-06-21 Thread Neil Hodgson
Baltasar: I suppose that the direct solution is to use compile for the compiler, build for the assembler, and then go for execution, but I'd like to have it done in just one step. It'd be cool if these steps (compile & build) were called automatically when performing "Go", but they are not.

Re: [scite] compiling scite under Linux x86_64

2007-06-21 Thread Neil Hodgson
hon fui lee: I've trying to compile scite under Linux x86_64 (RHEL 2) for both GTK1 and GTK2, but failed. scintilla compilation is OK. GTK+ 1.x is no longer supported by SciTE. At least GTK+ 2.4 is now required for the file chooser dialog. Some APIs may be used from later versions of GTK+ bu

Re: [scite] caret.fore property

2007-06-20 Thread Neil Hodgson
mitchell: I figure since generally the editor and output pane background colors will be the same, caret.fore should apply to both of them. OK, committed. Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman

Re: [scite] SciTE 1.74 released

2007-06-20 Thread Neil Hodgson
Steve Donovan: We're _almost_ there on the loadlib saga - it's still necessary to put something like #ifndef PLAT_WIN #define LUA_DL_DLOPEN #endif in scite/lua/src/lib/loadlib.c to get the actual working implementation of loadlib, rather than the not-implemented stub. I don't think PLAT_W

Re: [scite] SciTE 1.74 released

2007-06-20 Thread Neil Hodgson
KHMan: * need to update list of lexers in SciTEDoc.html: cmake, gap, plm, progress * in the global properties, menu.language, the entry for Forth is missing, it can be commented out by default Committed. Neil ___ Scite-interest mailing list Sci

Re: [scite] Long path problem

2007-06-20 Thread Neil Hodgson
Marcel x: should be char pipeData[PATH_MAX]; ? Committed except with MAX_PATH which is the internal version of PATH_MAX. Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

Re: [scite] 1.74: Pango Warning: Invalid UTF-8

2007-06-20 Thread Neil Hodgson
Felix Kater: when I enable utf-8 and also the dynamic popups for already typed words (don't know how you call them) and if the popup tries to display an *existing/listed* word with the german umlaut u (with two dots) I get: (scite:8921): Pango-Warning **: Invalid UTF-8 string passed to pango_la

Re: [scite] Re: April White's (& PhiLho's) tool menu generator

2007-06-19 Thread Neil Hodgson
mitchell: I suspect it has to do with OnClear. It now is called *before* the Lua global namespace is reinitialized, giving scripts a chance to "clean up after themselves" as in the documentation. I thinks its a scoping or lifetime issue. If toolList is initialised after udl_ListTools then it

[scite] SciTE 1.74 released

2007-06-17 Thread Neil Hodgson
SciTE 1.74 is now available from the scintilla.org web site. SciTE 1.74 upgrades Lua to 5.1 and adds OnKey, OnDwellStart, and OnClose methods to the scripting interface. Session files have changed format to be like other SciTE .properties files and now use the extension .session. Boo

[scite] 1.74 release candidate code

2007-06-16 Thread Neil Hodgson
I would like to release Scintilla and SciTE 1.74 Monday morning (21 hours from now). The release candidate code is available from CVS or from http://scintilla.sourceforge.net/scite.zip Source http://scintilla.sourceforge.net/wscite.zip Windows executable These are the same as the last downlo

Re: [scite] Re: 1.74 test downloads

2007-06-15 Thread Neil Hodgson
mitchell: Yeah, my mistake. It's late...*sigh* I shouldn't be copying and pasting at this hour... OK, committed and uploaded. Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

Re: [scite] 1.74 test downloads

2007-06-15 Thread Neil Hodgson
Istvan: I've just compiled the new testing version under Fedora Core 6. I opened the SciTEGlobal.properties and when I went down to line 253 SciTE crashed. OK, the ligature modification couldn't handle Latin1 characters that take two bytes in UTF-8. Fixed now in CVS and downloads. I've man

Re: [scite] 1.74 test downloads

2007-06-15 Thread Neil Hodgson
Chris Sutcliffe: Does this version have 'loadlib' disabled? When I try to start scite_gdb I get: C:\wscite\scite-gdb\scite_lua\gdb.lua:261: attempt to call global 'loadlib' (a nil value) Looks like it got renamed to package.loadlib for Lua 5.1. Neil _

Re: [scite] API files in SciTEDirectory.properties

2007-06-14 Thread Neil Hodgson
David Lynch: But trying this causes problems: api.$(file.patterns.lua)=$(api.$(file.patterns.lua));$(SciteDirectoryHome)/lua_wow.api Variables may not be recursively defined. Variables are like definitions in make files - only expanded at the point of final use. Neil _

Re: [scite] caret.fore property

2007-06-14 Thread Neil Hodgson
mitchell: I received an email a while back asking about the 'caret.fore' property setting and how it only applies to the editor pane. Well instead of using SendEditor in SciTEProps.cxx, I changed it to SendChildren in SciTE-tools. I figure since generally the editor and output pane background co

Re: [scite] 1.74 test downloads

2007-06-14 Thread Neil Hodgson
A new testing version is up with Lua 5.1. http://scintilla.sourceforge.net/scite.zip Source http://scintilla.sourceforge.net/wscite.zip Windows executable Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/

Re: [scite] Re: 1.74 test downloads

2007-06-14 Thread Neil Hodgson
Robert Hicks: That is just "Scintilla" and not "SciTE" though correct? Yes, just Scintilla. Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

Re: [scite] 1.74 test downloads

2007-06-13 Thread Neil Hodgson
Steve Donovan: How about enabling Lua loadlib for the GTK build? It's only a few lines and AFAIK dlopen is a very widely supported interface. Glad to know OnDwellStart is going in, but I understand that Scintilla is the piority for this release. The version now up has OnKey, OnClose, OnDwel

Re: [scite] Re: 1.74 test downloads

2007-06-13 Thread Neil Hodgson
Robert Hicks: > OS X support. What exactly does that mean? Shane Caraveo of ActiveState committed their native OS X platform code for Scintilla. Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listin

[scite] 1.74 test downloads

2007-06-13 Thread Neil Hodgson
There are some test downloads available from SourceForge: http://scintilla.sourceforge.net/scite.zip Source http://scintilla.sourceforge.net/wscite.zip Windows executable I hope to release version 1.74 in a few days. The changes from 1.73 are (for Scintilla unless SciTE mentioned): OS X

Re: [scite] Re: Multiple language translations

2007-06-13 Thread Neil Hodgson
instanton: Should Neil make the corresponding changes in the official version? This will greatly help in setting per user language interfaces for instance. This won't be going in to 1.74. Neil ___ Scite-interest mailing list Scite-interest@lyra.

Re: [scite] font color for caret.line.back

2007-06-13 Thread Neil Hodgson
Frank Wunderlich: can you include this in next release? No. I'd like to make the next release within a few days so no new features will be included. i think that should be not much work, isn't it? I don't use the caret line myself but am likely to accept a good implementation. Neil

Re: [scite] Re: Neil: Lua 5.1 inclusion in SciTE 1.74?

2007-06-12 Thread Neil Hodgson
OnKey currently uses a mix of parameters: keyval is platform specific and modifiers is portable. For example, On GTK+ and Window the definitions are: #define GDK_KP_End 0xFF9C #define VK_END 35 Ideally, the Scintilla SCK_* definitions would be used. I think it may make sense to make a 1.7

Re: [scite] Fold level

2007-06-12 Thread Neil Hodgson
Bambero: I'm php programmer so I often using classes. It looks like this: class foo { function method1() { ... } function method2() { ... } } It will be very comfortable to to fold all methods in class (second level). Maybe its good idea to add this functionality: fo

Re: [scite] font color for caret.line.back

2007-06-12 Thread Neil Hodgson
Frank Wunderlich: I've set my caret.line.back to a light yellow. no problems with the most lexers, but in batch-files i have a problem with labels (these have yelow text on dark background). if the caret is on a line with a such label, i can't read the text. Can be the text-color inverted to the

Re: [scite] Re: Compile problems

2007-06-11 Thread Neil Hodgson
malik martin: .cpp file. i just opened it and hit compile to see if i could work in scite You should look into the section of the online help explaining how to set up command.compile and work out what the correct command line is for your compiler. You may also need to set the path to include

Re: [scite] Feature request

2007-06-11 Thread Neil Hodgson
Aaron Gray: Dragable window tabs. To make the tabs able to be reordered and grouped by draging like in MS Visual Studio. https://sourceforge.net/tracker/index.php?func=detail&aid=1194914&group_id=2439&atid=352439 Neil ___ Scite-interest mailing l

Re: Re: Re: [scite] Feature request: multicolumn tools menu or hiddenmenuitems

2007-06-11 Thread Neil Hodgson
Chachereau Nicolas: This is a great tip, it should be mentionned somewhere in the documentation. OK, http://scintilla.sourceforge.net/SciTEFAQ.html#ToolsNoMenu Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org

Re: [scite] Neil: Lua 5.1 inclusion in SciTE 1.74?

2007-06-11 Thread Neil Hodgson
mitchell: I believe my LuaExtension51.cxx (Lua 5.1 support) for SciTE is stable enough for inclusion in the release version of SciTE. I don't believe I have had to modify it at all since I sent you the patch/tarball way back when, and compatibility issues have been nonexistant. The compilati

Re: [scite] Lots of warnings on build (gcc 4.2)

2007-06-11 Thread Neil Hodgson
mitchell: I think this has to do with the fact that I am now running gcc v4.2, but upon building, I get many warning: deprecated conversion from string constant to 'char*' Should this warning be disabled? Or should source code be modified? Disable it for now. This particular issue c

Re: Re: [scite] Feature request: multicolumn tools menu or hiddenmenuitems

2007-06-08 Thread Neil Hodgson
soft_share: I dearly would expect this would work, but setting the command.name to nothing or simply do not specify the command name does not work: the menu items disappear and the shortcut keys are disabled at the same time. Works for me. command.name.21.*.properties= command.21.*.properti

Re: [scite] statement.end property

2007-06-08 Thread Neil Hodgson
Me: Looks like it is completely non-working and has been for years. Removed statement.end from the code, documentation, and .properties files. Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listin

Re: [scite] feature request: font.indent property

2007-06-08 Thread Neil Hodgson
James Cuénod: Is it possible to make change the width of the characters in a monospaced font? No. The only way without writing lots of code is to find a font that is more suitable. Neil ___ Scite-interest mailing list Scite-interest@lyra.org ht

Re: [scite] Feature request: multicolumn tools menu or hidden menuitems

2007-06-08 Thread Neil Hodgson
instanton: So, my problem is this: is it possible to define user commands and asign shortcut keys without displaying a new item in the tools menu? Don't set the command's name property and it should not go in the Tools menu. Or set it to nothing. command.name.21.*.properties= command.21.*.p

Re: [scite] feature request: font.indent property

2007-06-07 Thread Neil Hodgson
Jeff Meininger: Let's assume that tabsize and indent.size are set to 3. When viewing with "Use Monospaced Font", things are great. When using variable width fonts, however, this setting can result in a very "shallow" indentation. Seems it would be cool if we could set... font.indent=$(font.m

Re: [scite] X Window BadRequest - Backtrace results

2007-06-07 Thread Neil Hodgson
Joe Sislow: I finally trapped one of the X Window crashes. It seems like the app exits on the error. It didn't actually break on gdk_x_error. Do I have a misconfiguration? Did I typo on specifying the breakpoint? In your transcript, I'm not seeing a line like: Pending breakpoint "gdk_x_e

Re: [scite] statement.end property

2007-06-06 Thread Neil Hodgson
Vadim Zborovskii: I've seen property "statement.end" in documentation, which states: ... I've tried it and found that it didn't work. Looks like it is completely non-working and has been for years. Neil ___ Scite-interest mailing list Scite-inte

Re: [scite] Re: Using GDB with SciTE

2007-06-06 Thread Neil Hodgson
Chachereau Nicolas: We also need to be aware that Undo and Redo would also trigger this. You don't want to be adding text in response to undo and redo modifications. With undo, it can make it difficult for the user to undo past an automatic insertion since every time the automatic insertion

Re: Re: [scite] Using GDB with SciTE

2007-06-02 Thread Neil Hodgson
Chachereau Nicolas: One thing I'd like to see is an OnChange event. I think I saw something similar mentioned in the interface, but afaik it is not implemented for Lua. Scintilla's SCN_MODIFIED notification occurs very frequently: in a Replace All operation it may be called multiple times fo

Re: [scite] Using GDB with SciTE

2007-06-02 Thread Neil Hodgson
Doyle Whisenant: I would still like to see an OnClose event which is fired when an open buffer is closed. This would allow a lot more flexibility when dealing with buffers. Any serious overhaul of the extension interface should at least consider this. Buffer destruction is communicated throu

Re: [scite] Using GDB with SciTE

2007-06-02 Thread Neil Hodgson
Steve Donovan: This modified version (apart from the loadlib fix) also enables Scintilla's tooltips which gdb.lua uses to show symbol values. This modification adds an OnDwellStart method to the Extension interface which is a good feature. Since this interface is implemented by downstream pr

Re: [scite] how to make a properties file for my own .

2007-05-30 Thread Neil Hodgson
lan haibo: i like scite . but im working in 3D area . 3dsmax & maya . for these script is max script and maya mel . but cant find the properties files for them . so i want make it for my own . but i dont know how to make a properties file . i had try to modify other properties files to fit for

Re: [scite] Re: Compiling 1.72 on Ubuntu 6.06 LTS

2007-05-25 Thread Neil Hodgson
Nathan Baker: Another thing that I should note is that the pre-built binary download 'gscite172.tgz' works on Ubuntu 6.06 LTS but it doesn't do any "color context highlighting" and the 'language' menu is not accessible -- thus my reason for "building from scratch". This probably means you di

Re: [scite] Re: Compiling 1.72 on Ubuntu 6.06 LTS

2007-05-23 Thread Neil Hodgson
Chachereau Nicolas: I don't think you can compile SciTE with GTK+ 1. There are many tests for the GTK version in the source code, but I suppose they're left overs from the code when GTK+ 1 was supported, because there are GTK+ 2 functions that are not wrapped in those tests. Neil knows better.

Re: [scite] Intermittent crash under FC6

2007-05-22 Thread Neil Hodgson
Joe Sislow: Yeah, I ran that and it just spit up the same error. Is there a debug command I can enable thru configure or something to have it spit more info when it dies? Run inside gdb; break on gdk_x_error; print a backtrace. Here is an example run although I have used gdk_cursor_new as t

Re: [scite] Intermittent crash under FC6

2007-05-22 Thread Neil Hodgson
Joe Sislow: The program 'SciTE' received an X Window System error. This probably reflects a bug in the program. Main reasons for getting X Window errors are sending oversize requests. There are various work-arounds for this in Scintilla such as breaking long strings up. Try changing SciTE ve

Re: [scite] Re: [ANN] SciTE-st: SciTE just got more perfect (dynamic lexxing)

2007-05-22 Thread Neil Hodgson
mitchell: Windows or linux? Franck got it working in Windows a reply in this thread. I don't think I left out anything in the requirements/install instructions. Windows. Turns out that it has to be installed to exactly "C:/Program Files/scite-st/" since that is a constant in LexLPeg.cxx. Its

Re: [scite] saving history for search & replace / templates

2007-05-21 Thread Neil Hodgson
Frank Wunderlich: scite saves search&replace-pattern during a session but after this is closed, the history is not accessable (comboboxes empty). i want a feature that i can define often used pattern to select them also in a new session. is this possible? This is not supported by SciTE. N

Re: [scite] How to replace tabs to spaces

2007-05-21 Thread Neil Hodgson
Ryan: I wannt to replace all the tabs in a .cpp file to four spaces. I am a newbie using scitilla, don't know how to use SCI_REPLACETARGETRE implement this. Read the SciTEBase::ConvertIndentation method in scite/src/SciTEBase.cxx. Neil ___ Scite

Re: [scite] [ANN] SciTE-st: SciTE just got more perfect (dynamic lexxing)

2007-05-21 Thread Neil Hodgson
Hi Mitchell, http://caladbolg.net/scite_st.php I think I've got it mostly installed OK but its not syntax highlighting. One thing I had to do was copy the 'scripts' directory to a sibling called 'lua' or it wouldn't find many of the scripts such as 'lua/snippets'. It may be an idea to make

Re: [scite] some suggestions

2007-05-14 Thread Neil Hodgson
In the makefile "-march=$(shell uname -m)" doesn't work on my 64 bit Ubuntu Feisty installation where this tries x86_64. The portion of the patch that only runs the GTK+ flag and library determination once is committed. Neil ___ Scite-interest ma

Re: [scite] output window: compiling much slower than in xterm

2007-05-14 Thread Neil Hodgson
Felix Kater: When I compile C code *inside* scite with about 30 message lines from gcc put into the output window it takes 18 seconds. When I execute the same make file in an xterm it takes 3 seconds. When there is are no messages from gcc, then compiling inside scite is fast. In fact, the outp

Re: [scite] How can i reload the api-file

2007-05-14 Thread Neil Hodgson
Franz Reiter: Please help with info, how to reload a api-file after a compile&make-process without stopping and starting scite. There is no direct way to do this. API files are reloaded when the properties are reloaded and SciTE tries to avoid reloading properties files (and thus API files)

Re: [scite] Determining when to highlight brackets

2007-05-14 Thread Neil Hodgson
mitchell: How does SciTE determine when to highlight brackets? (I notice it does not do so inside strings or comments). Is it lexer-specific? Or SciTE-specific? It occurs on SCN_UPDATEUI where it calls BraceMatch. Neil ___ Scite-interest mailing

Re: [scite] C# api file

2007-05-14 Thread Neil Hodgson
buttim: Would it be possbile to put the source and the generated api file in SciTE's Extras page? OK, uploaded. Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

Re: [scite] C, C++ formatting broken in SciTE latest version

2007-05-12 Thread Neil Hodgson
Sundararaman: Is the C, C++ formatting broken in SciTE latest version. If the C++ program had been created with previous versions of SciTE and is edited with the new version the tab stops do not automatically adjust to the old formatting. Most likely reason is that you set an indentation op

Re: [scite] Changing compiler

2007-05-11 Thread Neil Hodgson
Sabre Tooth: However the only message I get in the window to the right of the code is > -c myfile.f95-info >The system cannot find the file specified. What did I misunderstand? Is it my Windows system which cannot find it, is it g95, or is it SciTE? The command isn't calling the comp

Re: [scite] No global options available

2007-05-07 Thread Neil Hodgson
Ronald Fischer: Can I conclude from this that there is a newer version available which does not behave this way? From what I have seen on the net, I thought that Scite 1.73 is the most recent version of Scite. Just to be clear, there are two variants (I shouldn't have said version) of the Sc

Re: [scite] KDE's KTextEditor interface

2007-05-07 Thread Neil Hodgson
barcaroller: Does SciTE implement KDE's KTextEditor interface? No. If not, how difficult would it be (for me) to do it? The reason I ask is because I would like to have SciTE as the default editor (instead of Kate) in KDE applications such as KScope and KDevelop. Looks like quite a bit

Re: [scite] some suggestions

2007-05-07 Thread Neil Hodgson
Steve Donovan: But they are my preferences...BTW, what is the rationale for not showing the status bar by default? The status bar takes up room and only contains uninteresting details - I probably only turn it on once every 2 months or so when needing something unusual like measuring the num

Re: [scite] No global options available

2007-05-07 Thread Neil Hodgson
Ronald Fischer: I have installed and executed Scite 1.73 for Windows (just the exe file). When I go to Options / Open Global option file, I don't see any options. What is going wrong here? The Sc1 version embeds the options normally set in global options inside the single exe file. I think y

Re: [scite] some suggestions

2007-05-07 Thread Neil Hodgson
S. Sevki Dincer: Here are some small suggestions of my great experience with SciTE (very nice editor, i use it all the time) that i think may enhance it little bit. Changes are in the makefiles (little bit faster and connected build process, just "make prefix=/my/pref install" in scite builds -i

Re: [scite] scite reading configuration files

2007-05-06 Thread Neil Hodgson
Scorpio: When U double click a file configured to open by default in SciTE, how to make it open in the new tab in the latest window? The check.if.already.open property can be set to allow files to open into an existing instance of SciTE. And can we have options of whether to open in new in

Re: [scite] scite reading configuration files

2007-05-04 Thread Neil Hodgson
J. Baltasar Garcia Perez-Schofield: My questions are: a) Whether this is legal or not. I would add a side note in the link to the package pointing to the Scite web page and thanking the collaboration. Packaging SciTE is completely legal as described in the license http://sci

Re: [scite] Re: Storing bookmarks and folds in session files

2007-04-22 Thread Neil Hodgson
mozers: Storing bookmarks and folds in session files works very well. IMHO if SciTE Director Interface will have the command "addsession:" (it is similar to "loadsession:" and "savesession:"), that allows to add previously saved session to current session then it will be very convenient and nece

Re: [scite] Problem with option "properties.directory.enable" in 1.73

2007-04-21 Thread Neil Hodgson
Vladislav Vorob'ev: Yes, I using UNC format (e.g. \\MachineName\MyDir\MyFile") I have improved this so it will no longer hang forever although there is still a short delay while it tries to find the non-existent file. The code now treats \\MachineName as a root directory. Possibly it should

Re: [scite] Re: about selection of entries in popup

2007-04-21 Thread Neil Hodgson
James Cuénod: What about a tooltip type thing where if u hit some non-editing key it gives the tooltip focus and then it behaves like the good ol' auto complete dialog thing? That could be pretty easily implemented couldn't it? Manipulating focus is messy cross-platform: its simplest if Sci

Re: [scite] Automatically set wrap to 1 when editing text files

2007-04-21 Thread Neil Hodgson
Nicolas Grilly: I want to automatically set the property wrap=1 when editing .txt files and wrap=0 when editing other files. I tried to build a little Lua extension to do this: function OnOpen(filename) trace('open ' .. filename) props['wrap'] = '1' end Writing to p

[scite] Re: All Unicode planes supported

2007-04-20 Thread Neil Hodgson
I've updated SciTE to read and write UTF-16 files that use characters from any Unicode plane. This complements an earlier change to Scintilla that displays and edits these characters. Available from CVS and from http://scintilla.sourceforge.net/scite.zip Source http://scintilla.sourceforge.net/w

Re: [scite] Visual Basic Wrapper

2007-04-19 Thread Neil Hodgson
XuYibo: 1. Why doesn't integrate scite properties file to scintilla? I have used scitilla to make a tiny editor, i find it so hard to implement auto indent, auto complete, why doesn't move scite properties files support code to scintilla? Add some functions like: ReadPropertiesFile(...), GetS

[scite] Re: Storing bookmarks and folds in session files

2007-04-18 Thread Neil Hodgson
This change has now been committed to CVS and is also available from: http://scintilla.sourceforge.net/scite.zip Source http://scintilla.sourceforge.net/wscite.zip Windows executable This download also includes support for all Unicode planes as discussed on the Scintilla mailing list. Nei

Re: [scite] Problem with option "properties.directory.enable" in 1.73

2007-04-18 Thread Neil Hodgson
Vladislav Vorob'ev: I have stable problem with option "properties.directory.enable" in release 1.73 under Windows. If set properties.directory.enable=1 and try to load file from net disk then the SciTE dramatically freeze. And then we have one way - to kill the SciTE process. That's the sort

Re: [scite] Re: Storing bookmarks and folds in session files

2007-04-16 Thread Neil Hodgson
Philippe Lhoste: One has to do a Save As command after the conversion, to add sion to the extension... Unless it can be done in Lua too. The menu item can be triggered but no path can be supplied. It would be possible to add a Lua method do a host->Perform("saveas:") similar to scite.Open.

Re: [scite] Storing bookmarks and folds in session files

2007-04-16 Thread Neil Hodgson
mozers: Please have a look on modification "While saving session SciTE also saves list of bookmarks in session file for every file" in SciTE 1.73 .37Ru-Board: http://scite.ruteam.ru/engine/upfiles/mozers/SciTE.Ru_kernel_changes_eng.txt Source code http://scite.ruteam.ru/engine/upfiles/mozers/Sc

Re: [scite] Re: Storing bookmarks and folds in session files

2007-04-16 Thread Neil Hodgson
Philippe Lhoste: Perhaps a little Lua script inside SciTE would be the most universal? I can try if the format shown on the tracker won't change. If somebody else try also, he has a good chance of succeeding before I begin... :-) It may change slightly with property names changed or with fea

[scite] Storing bookmarks and folds in session files

2007-04-15 Thread Neil Hodgson
Friedrich Vedder has contributed a patch that optionally saves bookmarks and folds into session files. As I required this also changes the session files to use the .properties format like other SciTE features. The patch with explanation is at https://sourceforge.net/tracker/?func=detail&atid=352

Re: [scite] What happened at lyra.org?

2007-04-15 Thread Neil Hodgson
george fotheringay: Does anybody know why www.lyra.org and this list were down for over a week? I just got an endless wait whenever I tried to access it, and there are no messages between April 5 and April 13, so I assume it was not a problem at my end... It was down: I've been away but I s

Re: [scite] Calling WndProc from Lexer

2007-04-15 Thread Neil Hodgson
[I'm back early since the hiking was more difficult than expected so I returned from the half-way point] mitchell: Is there any way to call Editor::WndProc from a built-in Lexer? This is unlikely to be a good idea since lexers operate on documents, not views. They are meant to perform a res

Re: [scite] import in SciTEUser.properties

2007-04-05 Thread Neil Hodgson
Chris Sutcliffe: Works like a charm! Is there any chance "import" could be changed to evaluate properties? This would allow for a more portable configuration. If someone wants to contribute a fix. The context in which "import" is evaluated may only have access to the current property set o

Re: [scite] Re: import in SciTEUser.properties

2007-04-05 Thread Neil Hodgson
Hhooru Willy: SciTE seems to use %userprofile% to hard code the path to the SciTEUser.properties file. Perhaps Neil could place a key in the SciTEGlobal.properties to over-ride the %userprofile% settings. But then you are modifying the global properties file. The point of user properties is

Re: [scite] import in SciTEUser.properties

2007-04-05 Thread Neil Hodgson
Chris Sutcliffe: I tried adding: import $(SciteDefaultHome)\nsis which didn't work, so I tried: import $(SciteDefaultHome)\nsis.properties "import" does not evaluate properties so you could use an absolute path. Neil ___ Scite-interest mailin

Re: [scite] import in SciTEUser.properties

2007-04-05 Thread Neil Hodgson
Chris Sutcliffe: Is it possible to do an 'import' in SciTEUser.properties? I'm trying to enable NSIS support with 'import nsis' but it only seems to work if I uncomment the line in SciTEGlobal.properties. I'd prefer to do it in the SciTEUser file so that the change is not lost when I upgrade.

Re: [scite] SciTE problem

2007-04-04 Thread Neil Hodgson
newbie2: Can you help me to fix it? I don't know what the problem is and no one else has responded so it doesn't look like other people have seen this. There are probably 50 people on the list who use gcc on Linux and thus used 1.4.0 when that was current, so if the problem was common then i

Re: [scite] SciTE problem

2007-04-04 Thread Neil Hodgson
[Forwarding from newbie2 manually as messed up in Mailman] Neil Hodgson wrote: > > newbie2: > >> The problem is that when I try to type something in the output pane it >> only >> prints exit code 0 or exit code 1 > >But Python output was visible, so typing &

Re: [scite] SciTE problem

2007-04-03 Thread Neil Hodgson
newbie2: The problem is that when I try to type something in the output pane it only prints exit code 0 or exit code 1 But Python output was visible, so typing "python -h" into the output pane probably shows help as well. If Python output is visible then SciTE is probably doing its job and i

Re: [scite] New SCN_DOUBLECLICK

2007-04-03 Thread Neil Hodgson
mozers: In ScintillaHistory.html it is written: SCN_DOUBLECLICK notification may set SCI_SHIFT, SCI_CTRL, and SCI_ALT flags on modifiers field. How practically use this opportunity? In SciTE-Ru there is a similar function which has been created by mimir: Example: function OnDoubleClick(

Re: [scite] SciTE problem

2007-04-03 Thread Neil Hodgson
newbie2: When I compile with gcc 4.1.0 source files I can't see the error messages... It is written only if it compiles successfully or not --> return code 0 or return code 1... I tried gcc 4.1.1 on Fedora Core 5, typed "gcc --version" into the output pane and it displayed version informatio

Re: [scite] Spell-checker...

2007-04-02 Thread Neil Hodgson
barcaroller: I've googled this but could not find anything relevant. Does SciTE have a spell-checker? No. Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

<    1   2   3   4   5   6   7   8   9   10   >