Re: [scite] How would you suggest I distribute my Scite Extension?

2007-09-07 Thread Neil Hodgson
Hans Joseph Solbrig: My extension is titled The Pattern Repeater. It basically modifies the UI of scite, offering the user the option of repeating previous edits when it notices text that matches the patterns within previous edits. You should just distribute the whole of your modified

Re: [scite] for your consideration, a patch to OpenSelected()

2007-08-28 Thread Neil Hodgson
April White: The code for finding if the path is a directory should use FilePath::IsDirectory which is portable. I forgot, thank you. I'll upload a new version with this change and include the documentation change as well. I'll probably start a new message thread at that point.

Re: [scite] SciTE window does not come into foreground on Gnome

2007-08-28 Thread Neil Hodgson
Alexander Kriegisch: I run SciTE 1.74 on a Linux box on a Gnome Desktop. I am facing the problem of the SciTE window not being foregrounded automatically when I open a new file. I am running the editor in check.if.already.open=1 mode, by the way. There is some discussion about this area

Re: [scite] SciTE license question

2007-08-27 Thread Neil Hodgson
Jonathan Wilson: Is it permissible to take SciTE code including Scintilla.dll and SciLexer.dll code and mix it with code released under the GPLv3 and then release the result as GPLv3? The license is at http://scintilla.sourceforge.net/License.txt . I am not aware of any conflicts with

Re: [scite] Single instance and Director Extension in SciTEGTK

2007-08-26 Thread Neil Hodgson
steve donovan: I think we're confident enough for this to be updated. I'll have a look at the needed changes. Is there a complete version of this patch? Neil ___ Scite-interest mailing list Scite-interest@lyra.org

Re: [scite] Re: 1.74 crashes under FC7 X86_64

2007-08-26 Thread Neil Hodgson
Me: Scintilla should probably do something more sensible with invalid UTF-8 rather than relying on Pango to fail nicely. However its difficult to do anything sensible with invalid UTF-8 As a work-around, if I have time, I may map invalid bytes in supposedly UTF-8 text into Private Use

Re: [scite] for your consideration, a patch to OpenSelected()

2007-08-26 Thread Neil Hodgson
April White: I am not sure where we stand on this change. I have altered SciTEDoc.html but have not uploaded it yet. On the basis of not being useful often enough I don't think this should go in. Of course other people like commands I never use but if this is seen as needed by others, they

Re: [scite] Three proposed patches to SciTE

2007-08-26 Thread Neil Hodgson
steve donovan: for (int param = 0; param maxParam; param++) { SString paramText(param + 1); SString paramTextVal = props.Get(paramText.c_str()); if (paramTextVal.length() 0) { if (paramTextVal.contains( )) {

Re: [scite] Three proposed patches to SciTE

2007-08-26 Thread Neil Hodgson
steve donovan: if (props.GetInt(find.files.using.extension)) { SString ext = *.; ext += filePath.Extension().AsInternal(); memFiles.Insert(ext); } Since its fairly rare for a language to have a single extension (C/C++ programmers will often have

Re: [scite] Three proposed patches to SciTE

2007-08-26 Thread Neil Hodgson
The IDM_* constants are now exposed to Lua like all the SCI_* constants. Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

Re: [scite] [Feature Request] Edit behavior when rectangle selection

2007-08-26 Thread Neil Hodgson
Peng Yi: Firstly, I know scintiall can support rectangle selection mode. But when I input some text when have rectanle seletion, all selections will be removed and my input is insert into postion that selection start. I know some editors (for example, jedit and textmate) have a feature can

Re: [scite] Compiling problem SciTE in MinGW

2007-08-24 Thread Neil Hodgson
Hi Ulf, Looks like you are using CygWin or MSYS which are not properly supported by the Scintilla build files. There is some broken CygWin support in there which I intend to remove. You could try using a pure MingW environment, otherwise it is simpler to use the Microsoft compiler.

Re: [scite] Compiling problem SciTE in MinGW

2007-08-24 Thread Neil Hodgson
Ulf Nyman: NO I use a pure MinGW/MSYS enviorement MinGW v.3.4.5 MSYS v.1.0.10 Me (from previous mail): Looks like you are using CygWin or *** MSYS *** Neil ___ Scite-interest mailing list Scite-interest@lyra.org

Re: [scite] Re: 1.74 crashes under FC7 X86_64

2007-08-23 Thread Neil Hodgson
Jan Boehme: (scite:4552): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() when I open SciTEGlobal.properties and scroll down to: ... chars.accented=ŠšŒœŸÿÀàÁáÂâÃãÄäÅåÆæÇçÈèÉéÊêËëÌìÍíÎîÏïÐðÑñÒòÓóÔôÕõÖØøÙùÚúÛûÜüÝýÞþßö This is a set of byte values and should not be

Re: [scite] Re: 1.74 crashes under FC7 X86_64

2007-08-23 Thread Neil Hodgson
Stanislav Maslovski: Oops, I did not know. If they are byte values, then what encoding is assumed for them? None really. Its a set of bytes that have values between 128 and 255 and are often printable characters in various encodings. The first line is OK for ISO-8859-1 or -15 or Windows

Re: [scite] for your consideration, a patch to OpenSelected()

2007-08-20 Thread Neil Hodgson
April White: I am unsure whether to change SciTE.rc: MENUITEM Open Selected Filename\tCtrl+Shift+O,IDM_OPENSELECTED to MENUITEM Open Selected Filename or Folder\tCtrl+Shift+O, IDM_OPENSELECTED Its not really opening a folder: IIRC EMACS has sort of directory-editing mode and

Re: [scite] [PATCH] SciTE 1.74 GTK+: layout based on native GtkPaned widget

2007-08-20 Thread Neil Hodgson
Stanislav Maslovski: - problem with cursors solved. Using cursorInvalid in this way is good. - focus issues fixed. Oops, not all of them. When the output window is opened to the maximum width the focus goes nowhere... Its OK to be a bit heavy-handed, forcing the focus into a

Re: [scite] for your consideration, a patch to OpenSelected()

2007-08-18 Thread Neil Hodgson
April White: I've found it useful to be able to easily open the folder that the filename is in, without having to ... Is this seen by others as a commonly needed operation? Everyone works differently and this doesn't seem to me to be something that I'd use. Its not easily discoverable

Re: [scite] [PATCH] SciTE 1.74 GTK+: layout based on native GtkPaned widget

2007-08-18 Thread Neil Hodgson
Hi Stanislav, - cursorLast and the related code was removed because it did not work with dynamically destroyed/created windows. This removal should not affect the win32 code. There are several other platforms (OS/X, wxWidgets, QT, ...) so published APIs like this should not

Re: [scite] Properties fixes

2007-08-17 Thread Neil Hodgson
steve donovan: We have a few inconsistencies in cpp.properties: command.go.*.c=$(FileName) ... command.go.$(file.patterns.cplusplus)=./$(FileName) The first is appropriate for Windows, and those people on *nix who put . on the path. But generally . is not on the path. I think we need a

Re: [scite] [cpp.properities] please add *.ipp

2007-08-14 Thread Neil Hodgson
Jan Boehme: Please add the *.ipp postfix to the cpp.properities file to handle ipp file content like regular C++. Added to file.patterns.cpp. Neil ___ Scite-interest mailing list Scite-interest@lyra.org

Re: [scite] multiple languages in one file support

2007-08-13 Thread Neil Hodgson
CieNTi: Hi ... i want to ask if there is possible to see the language's layout in a mixed file. In example, i have a php file, and into it, i have php + html + css + javascript ... how can i see each language's layout/autocomplete/etc together without manually switching in the Language

Re: [scite] Annoying match case

2007-08-12 Thread Neil Hodgson
steve donovan: It's possible that the 'find files' dialog is reseting the 'match case' set by the 'find stuff' dialog, which would be irritating and inconsistent. Since there is no way to specify case-insensitive to the search command, it is treated as a matching case search. This is shown

Re: [scite] IDM_PREVFILE, IDM_NEXTFILE broken in GTK CVS?

2007-08-12 Thread Neil Hodgson
Geoff Catlin: Recently, though I'm not sure exactly when, navigating between tabs using Ctrl+PageUp/PageDown (which use IDM_PREVFILE and IDM_NEXTFILE) stopped working in my build of the GTK SciTE CVS code. I have this in my user options file: user.shortcuts=\ Ctrl+PageUp|IDM_PREVFILE|\

Re: [scite] Re: Re: Re: Compiler error

2007-08-05 Thread Neil Hodgson
Roger Sondermann: When I set CYGWIN = 0 or comment out the ifdef TERM in .../scite/win32/makefile I do get: with make: make: *** No rule to make target `..\..\scintilla\bin \Scintilla.dll', needed by `..\bin\Scintilla.dll'. Stop with mingw32-make.exe: cp ..\..\scintilla\bin\SciLexer.dll

Re: [scite] For your consideration, my SciTE Job Queue implementation

2007-08-05 Thread Neil Hodgson
April White: Can anyone confirm whether InterlockedExchange() exists in GTK? I think the closest is g_atomic_int_compare_and_exchange but it will be simpler to just implement the functionality using a mutex. Neil ___ Scite-interest mailing

Re: [scite] Re: Compiler error

2007-08-04 Thread Neil Hodgson
Roger Sondermann: Don't know if the missing export definition file is a real problem. No its just an uninteresting warning. I do get SciLexer.dll and Scintilla.dll ...\scintilla\bin, but they will not be found when building SciTE.exe because of the backslashes instead of slashes in

Re: [scite] Re: Re: Compiler error

2007-08-04 Thread Neil Hodgson
Roger Sondermann: cp ..\..\scintilla\bin\Scintilla.dll ..\bin\Scintilla.dll cp: cannot stat `..\\..\\scintilla\\bin\\Scintilla.dll': No such file or directory G:\Programs\System\MSys\bin\mingw32-make.exe: *** [..\bin \Scintilla.dll] Error 1 ... and Scintilla.dll is in ...\scintilla\bin\

Re: [scite] Re: Regex search/replace: ? does not work

2007-08-03 Thread Neil Hodgson
Alexander Kriegisch: Talking about REs, I would like to ask the developers if there is any chance for a more extensive RE library being implemented or adapted No. Neil ___ Scite-interest mailing list Scite-interest@lyra.org

Re: [scite] Compiler error

2007-08-03 Thread Neil Hodgson
Building with Borland 5.5 currently fails. I tried to use the current version of Borland's compiler to build and couldn't get that to work. Unless someone wants to contribute a fix to get 5.5 working, its time to say that Borland is no longer supported. Neil

Re: [scite] Three proposed patches to SciTE

2007-08-01 Thread Neil Hodgson
steve donovan: Ah, I see: one can't then do a Lua-free build; that's a bugger. I suppose IFaceTable doesn't have to be considered part of Lua support - I can't see any calls to real Lua in IFaceTable.cxx or .h but am unsure whether there are indirect links. Neil

Re: [scite] Flash in Linux

2007-08-01 Thread Neil Hodgson
izak marais: Ok, i see what happend threre, but I tried echo $(api.*.mx;*.as;*.asc) echo And nothing happend. Obviously I'm writing the variable name wrong, but what is the correct syntax? Looking at that, there isn't really a syntax for it since the file searching feature is handled

Re: [scite] Replace dialog feature request

2007-08-01 Thread Neil Hodgson
Jürgen Urner: Trying to figure out what you are trying to tell ...error in relacement string, things where changed that where not intendet to be changed ...as I understand it. In this case the first occurrence should be as good as the last. Pretty low chance that the last is an unintentional

Re: [scite] Folding of second-level blocks

2007-08-01 Thread Neil Hodgson
Ivan Kolev: Is there a way to toggle all second-level blocks? http://mailman.lyra.org/pipermail/scite-interest/2007-June/009240.html Neil ___ Scite-interest mailing list Scite-interest@lyra.org

Re: [scite] For your consideration, my SciTE Job Queue implementation

2007-07-31 Thread Neil Hodgson
I have uploaded to: ... long cancelFlag; /* only one job can be executing at a time, this should be safe as a public variable of the class */ The cancelFlag is used in both the UI thread and the execution thread so should be protected. That is why InterlockedExchange is used in the

Re: [scite] Replace dialog feature request

2007-07-31 Thread Neil Hodgson
Jürgen Urner: That is what the noise is usually taken for. Maybe most people have a few lines of code they'd like to replace something in. But as as soon as there are a few hundred ringing a bell is a much easier on your eyes than getting jumped to an arbitrary location. Ringing a bell

Re: [scite] Three proposed patches to SciTE

2007-07-31 Thread Neil Hodgson
steve donovan: The patch involves changing the signature of ExtensionAPI::DoMenuCommand; in Extender.h around line 30, we then have virtual void DoMenuCommand(const char *cmd)=0; The idea of a published extension interface is to give extension writers a solid basis to work. Changing

Re: [scite] Re: Replace dialog feature request

2007-07-31 Thread Neil Hodgson
Philippe Lhoste: On the other hand, I am starting to find this message (no occurrences found) more distracting and annoying than my system of screen flashing (and ring belling!), because I have to dismiss it before changing my typo... The No replacements alert could be dropped but new

Re: [scite] Replace dialog feature request

2007-07-31 Thread Neil Hodgson
Jürgen Urner: Just to make my point clear - as I see it placing a little note in the dialog Replaced: 3 (a.k.a ring a bell in the users head) should be much easier on the user compared to sending him down an unknown number of lines just to give proof something happend. Bit of an overkill as

Re: [scite] Re: Replace dialog feature request

2007-07-31 Thread Neil Hodgson
Holger Kohnen: I tried the setting: find.replacewith.focus=1 but at least on gtk i see no effect. This hasn't been implemented on GTK+. I have changed the documentation to reflect this. Neil ___ Scite-interest mailing list

Re: [scite] Three proposed patches to SciTE

2007-07-31 Thread Neil Hodgson
steve donovan: So the IDM_ constants could be put into IFaceTable, and would then be automatically available. Then GetMenuCommandAsInt() could call IFaceTable::FindConstant(name). I know this is a little awkward, because then the script-generated tables in IFaceTable come from two sources,

Re: [scite] Calltip question

2007-07-30 Thread Neil Hodgson
CieNTi: Im sorry. I said calltip when i was trying to say Complete Symbol. Is annoying that you start writing image and press CTRL+I, a really good list appear, but you cannot remain writing Why can't you continue writing? Neil ___

Re: [scite] Single instance and Director Extension in SciTEGTK

2007-07-30 Thread Neil Hodgson
Does this need updated documentation on http://scintilla.sourceforge.net/SciTEDirector.html ? Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

Re: [scite] Re: Properties fixes

2007-07-30 Thread Neil Hodgson
Philippe Lhoste: style.lua.13=$(style.lua.5),back:#E0FFE0 style.lua.14=$(style.lua.5),back:#E0E0FF style.lua.15=$(style.lua.5),back:#E0 style.lua.16=$(style.lua.5),back:#FFE0FF style.lua.17=$(style.lua.5),back:#FFE0E0 style.lua.18=$(style.lua.5),back:#FFD0D0

Re: [scite] Replace dialog feature request

2007-07-30 Thread Neil Hodgson
Jürgen Urner: Bit puzzeled about the replace dialog currently. When hitting the Replace All button in the replace dialog it jumps to the last occurence replaced. Usually takes me lots of scrolling to get back to where I started ...no idea why the last occurence replaced is of any special

Re: [scite] Three proposed patches to SciTE

2007-07-30 Thread Neil Hodgson
steve donovan: 1) Currently, Find-in-files is initialized with the property 'find.files, but it would be cool if there was an option for it to use the _current extension_ to build up a mask. If I am working in Python, then it should know that I am probably wanting to search Python files,

Re: [SciTE] broken link

2007-07-29 Thread Neil Hodgson
F.E. Karaoulanis: The TCL API file link at http://scintilla.sourceforge.net/SciTEExtras.html is broken and points to a parked domain. OK, removed. The extras page would probably be better as a wiki rather than being mediated by me if anyone is interested in setting that up. Neil

Re: [scite] me, Linux, and SciTE/Scintilla

2007-07-29 Thread Neil Hodgson
April White: Okay, only the 'Go' command, but it works. I'll try the change I made to the SciTE/Lua interface, where I added scite.Execute() Good! Shouldn't be much more work to add the other commands. Neil ___ Scite-interest mailing list

Re: [scite] Calltip question

2007-07-28 Thread Neil Hodgson
CieNTi: Sorry if this was asked ... i searched but i didnt found solution. I discovered a few days ago this wonderful editor, SciTE. But my question is ... can SciTE able to manage the calltip like VB style? (when the calltip appear, you can write more characters and the calltip list is

[scite] Property fixes and modeless incremental search on Windows

2007-07-28 Thread Neil Hodgson
Changed property wild card code so that wild card suffixes like Make* work for file pattern based properties. Another bug fixed where filepattern properties were not picking up filepattern definitions from higher priority property sets. For example, users wanting to extend the definition of

Re: [scite] Flash in Linux

2007-07-28 Thread Neil Hodgson
izak marais: Thanks for the informative reply. How do I check where the api... property is pointing? You should be able to display it in the output pane using the echo command: echo $(file.patterns.flash) then use that to find the value of api... You could just write the expression

Re: [scite] Startup issue

2007-07-28 Thread Neil Hodgson
James Cuénod: Sorry, it doesn't matter what version you're running - I don't think. SciTE is looking for something eg: ext.lua.startup.script=$(SciteDefaultHome)\scite-gdb\extman.lua Maybe it would be simpler if SciTE had a preferred script name and ext.lua.startup.script was just a way

Re: [scite] SciTe on Windows: how to set UTF-8 with BOM as default?

2007-07-19 Thread Neil Hodgson
empError: There is no setting that will default new files to having a BOM. You could look into writing a Lua script for OnOpen that detects a new file (I expect it gets an empty filename) and calls scite.MenuCommand(153) where 153 is IDM_ENCODING_UTF8. Neil

Re: [scite] Flash in Linux

2007-07-19 Thread Neil Hodgson
izak marais: The first thing I'm unsure about is the extent of built in flash support in the Linux version. Falsh(actionscript) is listed as a supported language for scite. When I open a .as file I get correct syntax highlighting and code folding, but there is no properties file and no language

Re: [scite] Problem to add new keywords to php

2007-07-18 Thread Neil Hodgson
cokinou: I would like add another keyword (like into lua.properties) with added on php.properties : keywords2.$(file.patterns.php)=function1 function2 function3 style.php.13=fore:#FF,bold But no effect on PHP code :(, i try to change the number style.php.xxx but no effect :,( The

Re: [scite] Folding for Kixtart

2007-07-15 Thread Neil Hodgson
Smudley: Is there a way for a noob like me to implement folding for Kixtart? I like ScITE and use it for AutoIT but I have tons of scripts done in Kixtart. It would help to have the folding feature working. Best way to write lexers and folders is to examine current code. You can find these

Re: [scite] me, Linux, and SciTE/Scintilla

2007-07-15 Thread Neil Hodgson
April White: Thanks Mitchell. I did compile with DEBUG=1, and followed the steps above, but I did not get a segfault while executing a tool - nothing did happen - but I did get a double free or corruption when I exited SciTE. The results of 'back' were vague and useless, showing a few

Re: [scite] Re: [scintilla] Moving some WordList and PropSet functionality from Scintilla to SciTE

2007-07-14 Thread Neil Hodgson
steve donovan: replace line 166 (which is just #define LUA_API extern) That looks like line 164 to me. Committed. Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

Re: [scite] me, Linux, and SciTE/Scintilla

2007-07-13 Thread Neil Hodgson
April White: So the rhetorical question is, how do I debug this? My Linux experience is really limited, heck I cannot even find where aliases are set nor change one to suit my preferences. Well I can type in the command, but I want to put it into my start up script - which I did - but it does

Re: [scite] Support for CSS in the HTML Language

2007-07-12 Thread Neil Hodgson
Kronuz: I was just wondering, when and how are decisions of moving code from SinkWorld to Scintilla done? When it looks like a good idea and it works. ...Also, is SinkWorld interface backward compatible with Sintilla? (i.e. can one compile, for instance, SciTE using SinkWorld instead of

Re: [scite] Support for CSS in the HTML Language

2007-07-11 Thread Neil Hodgson
Kronuz: it'd be nice if the JavaScript was a full copy of the stand alone CPP lexer. In some ways I've been thinking about possibly reusing CPP functionality inside HTML; HTML would depend on CPP, and CPP would have more a generalized version of its lexer available for HTML (or others) use.

[scite] Moving some WordList and PropSet functionality from Scintilla to SciTE

2007-07-09 Thread Neil Hodgson
Bug #1749659 bought up again some modularity problems with Scintilla/SciTE. The WordList and PropSet classes are defined in Scintilla and used both in Scintilla and SciTE. SciTE requirements have led to some complex methods (such as GetNearestWords) being added even though they are not used in

[scite] Re: [scintilla] Moving some WordList and PropSet functionality from Scintilla to SciTE

2007-07-09 Thread Neil Hodgson
Shane Caraveo: Would this change the functionality provided by setkeywords, and the set/get property methods? That is the basic level we use in Komodo. This does not change the main Scintilla SCI_* interface and will only be an issue for applications that link directly to Scintilla's

Re: [scite] Single instance and Director Extension in SciTEGTK

2007-07-07 Thread Neil Hodgson
There seems to be some unnecessary entities. Looking at the set of properties mentioned in the DirectorExtension, [ipc.director.name, current.pid, ipc.scite.name, PipeName] it appears that PipeName is just giving ipc.scite.name a default value so could go into ipc.scite.name (is there a

Re: [scite] implementing indentifier search into SciTE

2007-07-07 Thread Neil Hodgson
Jonathan Wilson: What I want is for the end user to be able to select, say, ThingTemplate=ControlPoint and then select go to definition somehow How hard would it be to add what I want to SciTE? Its a simple matter of writing some Lua and attaching it to a command or menu item. There's

Re: [scite] New version of scite-gdb

2007-07-05 Thread Neil Hodgson
gcc (4.1.2) started complaining about the conversion from a void * (result of dlsym) into a function pointer. So now its coerced into an int (!) first. Neil ___ Scite-interest mailing list Scite-interest@lyra.org

Re: [scite] SciTE 1.74 .49Ru-Board released

2007-07-05 Thread Neil Hodgson
mozers: [*] You can move tab to another place in list by menu command, by shortcut or by mouse. I copied in the implementation of the menu commands but did not add them to menus. The mouse drag version doesn't show obvious enough feedback for me. Since this included more #ifdefs to

Re: Re: Re: Re: Re: Re: [scite] Single instance and Director Extension in SciTEGTK

2007-07-05 Thread Neil Hodgson
Chachereau Nicolas: Basically the only change since the last version sent to the mailing list is that you can now call register: with a correspondant field as well, that is, sending :filepath:register:, where filepath is a file you created and to which SciTE will write the name of the pipe you

Re: [scite] Single instance and Director Extension in SciTEGTK

2007-07-05 Thread Neil Hodgson
steve donovan: use SciTE as a single instance even without the director. If you want, we could break backward compatibility and require SciTE to be compiled without NO_FILER to be able to use check.if.already.open. Can we imagine a situation where people can't or won't put in the director

Re: [scite] SciTE 1.74 .49Ru-Board released

2007-07-05 Thread Neil Hodgson
me: [*] and more... I may copy having separate styles for the path and match for find in files. This is now done. I thought that distinguishing file search results by looking for Internal search... would be too expensive and fragile ('Internal search for x in y' should really be

Re: [scite] selection.back in Sc1.exe

2007-07-03 Thread Neil Hodgson
instanton: For Sc1.exe built with the latest CVS and MinGW it appears that selection. back is not working. Whatever value is asigned to selection.back the background of selected text in Sc1 is always the same very light blue, Works for me with MinGW with default being a grey background.

Re: Re: Re: Re: Re: [scite] Single instance and Director Extension in SciTEGTK

2007-07-03 Thread Neil Hodgson
steve donovan: There is a danger of overengineering. This is a slipperly slope which will end up with us using something like DBus...! I had a another look at DBus. It probably is too complex although since there is a per-user instance there will be less opportunity for interference on

Re: Re: Re: Re: Re: Re: [scite] Single instance and Director Extension in SciTEGTK

2007-07-03 Thread Neil Hodgson
Chachereau Nicolas: That's not really the use case. Suppose the director, for some reason, takes a while before asking SciTE to be activated. You might then have switched to another application, e.g. might be reading something in your web browser. It would then be an annoyance if SciTE was

Re: [scite] Invalid free() in src/SciTEBuffers.cxx

2007-07-01 Thread Neil Hodgson
Chachereau Nicolas: This is the patch, we just need to initialise stack in the class BufferList in SciTEBuffers.cxx: OK, committed. Neil ___ Scite-interest mailing list Scite-interest@lyra.org

Re: [scite] SciTE 1.74 €

2007-07-01 Thread Neil Hodgson
Axel Huizinga: after updating to 1.74 on my linux 64 bit box Scite type EUR instead of €. Can I change this behaviour? What locale settings are you using? Often people use ISO-8859-1 which does not include € but it should be OK in UTF-8. You can try character.set=1000 for ISO-8859-15

Re: [scite] File type patterns like Makefile* do not work

2007-07-01 Thread Neil Hodgson
Alexander Kriegisch: Could you point me to the place inthe source code where the globbing is done and also to the place where it is called for 'file.patterns.foo'? Maybe I can hack it for myself with my extremely limited C/C++ abilities. I would also provide a patch to the mailing list which

Re: [scite] Embedding Python

2007-07-01 Thread Neil Hodgson
Benjamin Fisher: I'm not sure of the scope of this project but I know it will be not be quick. I guess my question is how impossible this is :), and how to start. Is anyone else interested in this or willing to help? I doubt it would take much effort. SciTE communicates with each extension

[scite] TeX (was: Re: Re: Re: [scintilla] styler.GetPropertyInt and keywordlists)

2007-06-29 Thread Neil Hodgson
instanton: After carefully inspecting the ColouriseTeXDoc code I realized that the keywordlists are not used most of the time because most TeX files would not begin with a comment line like %interface=tex or interface=latex and the like. I don't use TeX so just assume the people that

Re: [scite] Help on using ListBoxx

2007-06-29 Thread Neil Hodgson
Yan Feng: I need a new ListBoxx window in SCite IDE ,but I don't know how to instance the object like ListBoxX lbx the VC++ always told me no ListBoxX declared. You shouldn't use ListBoxX directly from SciTE as it is contained within Scintilla and exposed using the autocompletion APIs. Have

Re: [scite] Single instance and Director Extension in SciTEGTK

2007-06-29 Thread Neil Hodgson
Chachereau Nicolas: I think we should decide in which way SciTE reacts when it is sent a message. I think SciTE should be raised above the other windows in some cases, like: find:, goto:, insert:, loadsession:, macrocommand:, macrolist:, menucommand:, open:, output:, replaceall:

Re: [scite] SciTE text selection and VMware tools copy paste

2007-06-29 Thread Neil Hodgson
Alexander Kriegisch: I use a debian'ish Linux (Elive) from within VMware Player 2 on a WinXP host. VMware tools are installed and working, i.e. copy paste to/from the VM and the host system works as expected, with one notable exception: I cannot copy any selected text directly out of SciTE's

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

2007-06-29 Thread Neil Hodgson
steve donovan: Right - I made a linker version script by whacking the lua.symbols And building with -rdynamic -Wl,--version-script lua.map Still works! The executable is a bit larger ;) but not as big as -rdynamic on its own. Builds for me too. Are all the Lua users happy enough with

Re: [scite] File type patterns like Makefile* do not work

2007-06-29 Thread Neil Hodgson
Alexander Kriegisch: file.patterns.make=makefile*;Makefile*;*.mak;configure*;*.mk SciTE globs can only match '*' as a prefix, not as a suffix. I will remove configure* from others.properties. Neil ___ Scite-interest mailing list

Re: [scite] Is a SciTEGTK.h possible?

2007-06-28 Thread Neil Hodgson
mitchell: I notice in win32/, there is a SciTEWin.h so SciTEWin.cxx, SciTEWinDlg.cxx, and SciTEWinBar.cxx can be separated instead of creating one huge SciTEWin.cxx file. I don't think that this has actually been a good split as its not really obvious which file a piece of functionality

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

2007-06-28 Thread Neil Hodgson
steve donovan: (BTW, I get a _smaller_ executable using this explicit retain-symbols-file technique!) Its smaller because it has removed most of the symbol information so is harder to debug. The --version-script linker option may be better. Neil

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 {

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

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

[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,

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+

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] 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] 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

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

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] 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

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

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 its

[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

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

  1   2   3   4   5   6   7   >