Re: [scite] A revision possible based on SciTE documentation

2006-01-18 Thread Neil Hodgson
April White: The revisions I have been working on for the new job system is now storing the buffer name into the job object, so the 'building' flag can be set. It should not be hard to revise the code that handles the command.replace.selection... code to locate the original buffer and

Re: [scite] Feature request: Dual pane view

2006-01-17 Thread Neil Hodgson
Kevin Olemoh: It would be better if one at least had a menu entry to increase the font size. The ctrl+numpad+ keybinding is kind of useless on my Thinkpad and it would have saved me some time if increasing or decreasing the font size [at the very least] was accessible through the menu

Re: [scite] Indicators

2006-01-16 Thread Neil Hodgson
Frank Wunderlich: i have also tried this, but same behavior appears...i've fuguered out that the loaded lexer can be the problem. in the text-lexer (without lexer) it works but in html-lexer for example it doesn't work, but i found no solution for it. The HTML lexer uses 7 bits of each

Re: [scite] Saving/restoring bookmarks

2006-01-16 Thread Neil Hodgson
Mario Valle: Is it possible to save and restore bookmarks? No. This has been answered before. Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

Re: [scite] lua parsing in output pane

2006-01-16 Thread Neil Hodgson
Frank Wunderlich: isn't OnUpdateUI fired to often for string parsing? how do i get the active pane (i also need this for OnDblClick, to get the filename and linennumber printed by the compiler). Its called quite often so you may need to work around that by avoiding expensive operations

Re: [scite] Strange selection color with XML

2006-01-16 Thread Neil Hodgson
Sebastian Steinlechner: With the minimalistic Text lexer, 78 colors are in use. C/C++ lexer pushes this up to 90, Hypertext reaches the limit of 100. After I set Palette::numEntries to 150, I got a color count of 117 for Hypertext and indeed the color problems disappeared. It seems a lot

Re: [scite] using scripts to expand/collapse folds

2006-01-16 Thread Neil Hodgson
Kein-Hong Man: Here is a folding/unfolding Lua function with a customizable depth setting. That works well. I was going to ask for a permanent address for this but its already on the wiki at http://lua-users.org/wiki/SciteCustomFolding Neil

Re: [scite] lua parsing in output pane

2006-01-15 Thread Neil Hodgson
Frank Wunderlich: another way i think is catching the onChar-Property and test for the pane. if this pane is the output-pane then running my function to search for strings and replace some strings. OnChar is for user input. You could try OnUpdateUI. Neil

Re: [scite] Feature request: Dual pane view

2006-01-15 Thread Neil Hodgson
Victor: SciTE makes for a really awesome gateway drug. I mean it. I love it because it is simple and yet powerful *but* knowing it will purposely rank lower in features when compared to other IDEs is a daunting burden to have to live with :( It also keeps me relatively sane. I wish

Re: [scite] Hello all, I have just 5 quick questions about SciTE on Linux/Gnome.

2006-01-13 Thread Neil Hodgson
Victor: Q 4 I believe just might be a bug on Linux/Gnome. Can someone confirm this OR is it a feature? I think it was added to Windows and no one looked at doing it for GTK+. Its fixed now in CVS and the modified source is also available from http://scintilla.sourceforge.net/scite.zip

Re: [scite] Strange selection color with XML

2006-01-12 Thread Neil Hodgson
Sebastian Steinlechner: I recently updated to SciTE 1.67 (from something like 1.62) and came across the following problem (on GTK2/Ubuntu 5.10). I have selection.back=#e7ff60 in my properties file. That's a nice MacOSX textmarker like color. Works fine, though not in XML mode. Each time

Re: [scite] using scripts to expand/collapse folds

2006-01-11 Thread Neil Hodgson
Chris: I would like to be able to use an lua script to find the deepest foldable node, and unwind while collapsing every fold I encountered along the way. Is this possible with the scripting interface? I could not find any examples of using folds at all from lua. Yes, this should be

Re: [scite] Re: groupundo:yes problem

2006-01-09 Thread Neil Hodgson
Roger Sondermann: Here it is, but any other script causes the same problem: OK, between 1.66 and 1.67 I made a mistake when updating groupundo so that it calls SCI_BEGINUNDOACTION both before and after the action rather than calling SCI_ENDUNDOACTION after. Fixed in cvs. You can downgrade to

Re: [scite] folding php code

2006-01-06 Thread Neil Hodgson
Abraham (J.P.): Also, is there a way to save in the scite session file what part of the file were fold ? I'm forced to click on all the '-' in the margin when I open my file.. No. To fold up all the file you can use View | Toggle All Folds and you can ask that files be opened folded

Re: [scite] off the wall question

2006-01-03 Thread Neil Hodgson
Jan Hendrik: how many miles is it from you to here? 10,000, 11,000? Or is it just the opposite point on Mama Earth? Anyhow, it seems a nice thing that for individual reasons and on such a huge distance the same roots show up for a name. Here is approximately

Re: [scite] characterset

2006-01-02 Thread Neil Hodgson
Frank Wunderlich: i want to change the codepage of the outputfile (not displaying) for batch-files. reason is that in the dos-box german special-chars are displayed in other character-set if i set character.set=255 scite displaying the bat-file like it's displayed when running in dos-box,

Re: [scite] v1.67 version of my job implementation

2005-12-31 Thread Neil Hodgson
April White: I've uploaded to http://www.scintilla.org/aprilw/scite-april-2005-12-29.zip my implementation of the new job system for v1.67 OK. The PropSetFile change is now committed. It is fixed; I decided to upload todays revisions under the same name as above. OK. There are some

Re: [scite] off the wall question

2005-12-30 Thread Neil Hodgson
Piotr Fusik: i like in ski/lee or sky/lite ? Sky. Do you pronounce the trailing e ? No. Given the dual etymology from the history page '''Latin meaning something like understanding in a neat way and is also an Old English version of the word shit ''' and this set of recordings from

Re: [scite] Context menu Font

2005-12-28 Thread Neil Hodgson
Srish: Is there a way I can select font size for the context menu ? Turn off the builtin context menu with SCI_USEPOPUP and respond to WM_CONTEXTMENU by displaying your own context menu. Neil ___ Scite-interest mailing list

Re: [scite] off the wall question

2005-12-28 Thread Neil Hodgson
Dennis Dalessandro: What is the correct pronunciation of SciTE? I've heard different people butcher it different ways. Its simplest to say skite which is Australian for boast but I tend to soften the s towards shkite due to the derivation from shit. Neil

Re: [scite] scite on pocket pcs

2005-12-23 Thread Neil Hodgson
Kevin Jones: Was wondering/hoping there might be a version of the scite editer for the pocket pc. Not when running Windows CE. The GTK+ version should run if you can get Linux installed. Neil ___ Scite-interest mailing list

Re: [scite] display bug, enhancement

2005-12-22 Thread Neil Hodgson
Frank Wunderlich: when you searching for a special char (for example th german char ä (auml;)) and nothing is found the messagebox displaying 'ä' cannot be found instead of 'ä' cannot be found the char 'ä' in the textbox is displayed right (getting charset/encoding from this). can you

Re: [scite] Correct way to post in this list

2005-12-22 Thread Neil Hodgson
Stilianos Kesisoglou: I was wondering which is the correct way to post in this list. I have send a message a few days ago about encapsulating SciTE in the form of a Netscape plug-in with no reply. The message arrived at the list and can be seen in the archives

Re: [scite] Revision #5 of job's

2005-12-18 Thread Neil Hodgson
April White: - rewrite if (!executing !jobQueue.IsEmpty()) as if (jobQueue.CanExecute()) - add the method CanExecute() which examines an internal flag IsExecuting; if it is not set, sets it and pops a job from the queue, thereby setting the flag and preparing for the actual execution -

[scite] SciTE 1.67 released

2005-12-17 Thread Neil Hodgson
SciTE 1.67 is now available from the scintilla.org web site. SciTE 1.67 is a minor enhancement and bug fix release. Several lexers improved. On Windows, pasted text has line ends normalised to match current preference. Multiple buffers work more consistently with more settings stored

Re: [scite] Revision #5 of job's

2005-12-17 Thread Neil Hodgson
April White: I've been going over in my head the 'executing' variable. I would remove the 'executing = true' assignment from SciTEBase::Excecute() and replace if (!executing !jobQueue.IsEmpty()) with if (!::InterlockedExchange(executing,1) !jobQueue.IsEmpty()) Am I on the right

Re: [scite] Is this a bug?

2005-12-17 Thread Neil Hodgson
April White: This line gets rendered in the yellow color of a compiler directive: #define bump() if ( GetTickCount()last+1000 ) { last=GetTickCount(); putchar('.'); } However this line: #define bump() if ( GetTickCount()last+1000 ) { /* Sleep(0); */ last=GetTickCount();

Re: [scite] SciTE crash

2005-12-15 Thread Neil Hodgson
Axel Huizinga: I noticed that SciTE Version 1.66-wbd-1 on XP crashes when I try to correct my typo in php code on the line : dumpObject(head.headLine.ext.); I have the caret behind the last dot and after hitting backspace - no more response. I can't reproduce this on standard

Re: [scite] Colours for output pane

2005-12-15 Thread Neil Hodgson
My I set a colours for output pane? Or styles for error, text, warnings, etc. In others.properties, the relevant colours are specified in style.errorlist.*. Neil ___ Scite-interest mailing list Scite-interest@lyra.org

Re: [scite] Revision #5 of job's

2005-12-13 Thread Neil Hodgson
April White: - rolled back to changes where I merged IsBuilt, IsDirty, UseMonoFont into a bit-field variable - removed the code the passed the job object from the ExecuteOne() method to command procedure - retooled the jobQueue.Pop() method to be jobQueue.GetNextJob() - added

Re: [scite] horizontal scrollbar

2005-12-13 Thread Neil Hodgson
Since I haven't found a good way to implement a dynamic horizontal scrollbar in Scintilla (and I tried again recently in SinkWorld) there should probably be a compromise option. This would provide a better but not perfect range and since it would be an option the user could choose whether the

Re: [scite] Compiler errors in latest CVS code

2005-12-13 Thread Neil Hodgson
Robert Roessler: As for the reference to SCE_CAML_KEYWORD3, the magic Python script that [re]creates the key .h files from the .iface description must be run - it could be done locally, or Neil will presumably do it prior to the new release. It is in CVS now but it seems to take 30-90

[scite] 1.67 soonish

2005-12-11 Thread Neil Hodgson
I plan to release a new version of Scintilla and SciTE by Friday. Recent changes from Jeffrey Ren (Asian text on Windows 9x) and Armel Asselin (undo stack position field) will go in but translucency won't as the API needs more work and April White's changes to the job queue aren't yet finished.

Re: [scite] 4th stage of reprogramming job system

2005-12-03 Thread Neil Hodgson
April White: The SciTEWin::ProcessExecute() method currently pops a job off the queue, and I've modified IDM_FINISHEDEXECUTE to receive the job as a parameter via lparam. I have not altered anything to store the buffer name so far, but the new code is working. Oh, I am also planning on on

Re: [scite] 4th stage of reprogramming job system

2005-12-02 Thread Neil Hodgson
April White: I've noticed that I am not deleteing the job object within ProcessExecute(). I would like to: - add a variable exitstate to the job class - return the job as a void * instead of the exitstate This way the IDM_FINISHEDEXECUTE code can get the exit state and build flags.

Re: [scite] 4th stage of reprogramming job system

2005-11-29 Thread Neil Hodgson
April White: - made the internal global flag isBuilt a buffer flag; if two files are open that use the go.needs setting, each maintains its own built status Good. - the buffer flags isDirty and useMonoFont has been encapsulated within a buffer variable and controlled by enum flags

Re: [scite] internal flag 'isBuilt'

2005-11-26 Thread Neil Hodgson
April White: I have eliminated the flag 'isBuilding' by adding a job flag jobIsBuilding. This is working fine, though I want to keep the output of the first job on the screen when the second job runs. The SciTEBase::Execute() method clears the output pane between, so I'm trying to find an

Re: [scite] drawing bug / edge mode

2005-11-18 Thread Neil Hodgson
Frank Wunderlich: why not drawing the line behind the text? text may be better readable if it's in front of the line. You could try moving the edge code earlier in drawing. Neil ___ Scite-interest mailing list Scite-interest@lyra.org

Re: [scite] Web site design

2005-11-18 Thread Neil Hodgson
Philippe Lhoste: The banner is a bit strange. Editor for X? Most of the text is from the main site but with some capitalisation changes. X is used for the X Window System. It could say Linux but SciTE also runs on other Unix like operating systems and even some like OpenVMS that aren't based

[scite] Web site design

2005-11-17 Thread Neil Hodgson
Guillaume Schaeffer who earlier designed an alternate icon for SciTE also produced a design for the SciTE web site. While it is more attractive than the current site, I tend to see web site design from a programmer's point of view prioritising the informational text, so don't like to see fixed

Re: [scite] Bug in folding

2005-11-16 Thread Neil Hodgson
Frank Wunderlich: i dont want to comment it out...why don't change //~ to // to make it more compatible? //~ can be safely toggled over text that includes comments. If you prefer using // then set comment.block.cpp=//. Neil ___

Re: [scite] stage #3

2005-11-15 Thread Neil Hodgson
April White: The only time I can see that code checks if the queue is non-empty is to assign TRUE to isBuilding. I'll change AddCommand() to return true/false indicating that something was added, eliminating the need to examine if the queue is empty. isBuilding needs to be known to the

Re: [scite] Lexing/painting problem?

2005-11-15 Thread Neil Hodgson
Robert Roessler: *Sometimes* [now] when I remove an outer set of comment delimiters, the text inside (with a mix of un-commented and commented code) is not properly redisplayed. It may be all of the lines or just one that does not get repainted properly and retains the look it had when the

Re: [scite] Lexing/painting problem?

2005-11-15 Thread Neil Hodgson
Robert Roessler: Thanks, Neil - but I thought that my last line Current Scintilla/SciTE builds from CVS on Windows XP SP2. was sufficient platform info? Or maybe you are remembering that I work with the Scintilla widget on GTK+ on Windows too? :) GTK+/Windows is an unknown case for me

Re: [scite] build SCITE native osx

2005-11-15 Thread Neil Hodgson
Daniel, I like to compile natively scite for osx (scintilla.a). Is it possible? I have compiled scintilla natively with osx the 10.4.3 and the SciTest file for XCode bat this project is too much simplified... There is no way to build SciTE for OS X native currently. Neil

Re: [scite] catching errormessages and open file, goto line

2005-11-14 Thread Neil Hodgson
Frank Wunderlich: Is there a macro which returns current line/col? macrocommand is a generic way to execute Scintilla commands through the director interface but can only be understood through reading SciTE's (or Filerx's) source code. Do You implement the indent-Function/Menu-Item?

Re: [scite] catching errormessages and open file, goto line

2005-11-14 Thread Neil Hodgson
Frank Wunderlich: can i catch the doubleclick-event by lua or other and get the actual line of output pane? then i can open the file and jump to the position... I expect so but havent looked into doing this. is there a possibility to get the current line by SciteDirector-Interface

Re: [scite] stage #3

2005-11-14 Thread Neil Hodgson
April White: I've been thinking of a new approach to the 'send job message' to the window. My initial test worked by having the AddCommand method send the job message. This eliminates the need for individual calls to AddCommand to send the message. One problem with this is that code

Re: [scite] catching errormessages and open file, goto line

2005-11-14 Thread Neil Hodgson
Frank Wunderlich: on second selected line it inserts 2 tabs...on further tests i noticed that a similar function is already implemented but not in menu (selecting and press tab)= all lines will be indented (why have nobody say this to me?) I find it difficult to understand your point of

Re: [scite] Translations in SciTE

2005-11-13 Thread Neil Hodgson
Neo Clark: i want to translate menus and dialogs into Vietnamese how can i modify locale.properties file? (code.page,charset,encoding) i set translation.encoding=UTF-8 and use a Vietnamese keyboard support UTF-8 to type but menus or dialogs do not display Vietnamese corectly This

Re: [scite] Replacing the standard Ctrl + T shortcut key

2005-11-13 Thread Neil Hodgson
Adnan Chowdhury: I would like to replace the standard Ctrl+T (which currently 'Line transpose[s] with previous.') to open a new tab (new document). I have tried mapping the key in my user options file but to no avail. user.shortcuts=\ Ctrl+T|IDM_NEW| Works for me. The corollary to my

Re: [scite] catching errormessages and open file, goto line

2005-11-13 Thread Neil Hodgson
Frank Wunderlich: i get the following output: D:\Programmierung\wscite\delphi\compile.bat Alarm.dpr no_pause Delphi fr Win32 Version 10.0 Copyright (c) 1983,97 Borland International ... AlarmClass_u.pas(20) Fehler: Undefinierter Bezeichner: 'TAlarmDataList_' ... Options_u.pas(14)

Re: [scite] Output pane searching?

2005-11-13 Thread Neil Hodgson
Robert Roessler: I have a lot of lines in the output pane, and so am attempting to search (Ctrl-F) on some known strings. But irrespective of where the focus is, the searches are always performed in the edit pane. That is deliberate: searching is always for the edit pane. If you want to

Re: [scite] ToolTips Bug Fix for Function names containing numbers

2005-11-10 Thread Neil Hodgson
BobH: I debugged the source code and determined the problem to be the initialization of the SString calltipWordCharacters which contains all the legal characters permitted in a function name. Since the C languange permits alphanumerics and underscores in the function names, I simply added

Re: [scite] Regular expression help needed

2005-11-10 Thread Neil Hodgson
Kein-Hong Man: if i = 2 and CharAt(i-2)..CharAt(i-1) ~= _( then Any reason to prefer this over the textrange call? if i = 2 and editor:textrange(i-2, i) ~= _( then Neil ___ Scite-interest mailing list Scite-interest@lyra.org

Re: [scite] sending message to SciTE

2005-11-04 Thread Neil Hodgson
April White: I'd like to be able to pass the props instance variable from SciTE.ReadProperties() into JobQueue.ReadProperties(), but at this point the props class definition is within SciTEBase. Could I move it out to its own file, allowing JobQueue to include the .h file and utilize the

Re: [scite] sending message to SciTE

2005-11-04 Thread Neil Hodgson
April White: I hope the icky debug stuff is going to disappear. When I don't need it any more. I've disabled the DEBUG define so the code it excluded. There were problems here because __attribute__ is for gcc and confuses other compilers. Copyright? doesn't deserve a ?. Since

Re: [scite] X11-forwarding

2005-11-04 Thread Neil Hodgson
Ervin Peters: So I tried to open scite on rachmaninov using x-server diplay on localhost/redmagic - the display I'm looking at. I'm not very knowledgeable about X and remote use although I have managed to use SciTE remotely in the past. The error was 'BadWindow (invalid Window

Re: [scite] Slow buffer scrolling and switching

2005-11-02 Thread Neil Hodgson
Carlos Pita: One ocurrs when I keep up/down arrow keys pressed; the cursor reaches the top/bottom of the window but then the buffer isn't scrolled; when I finally release the arrow key the buffer suddenly jumps to the far point where it should have smoothly scrolled to. The slippage is

Re: [scite] sending message to SciTE

2005-11-01 Thread Neil Hodgson
April White: I removed SciTEWin::Execute(), placing that code within the command case, and it executes the commands in the queue. I tested Makefile and a simple .c file hoo hoo, it works :-) OK. It worked for some external programs and Lua scripts. The implementation of

Re: [scite] Upper and lower case

2005-10-31 Thread Neil Hodgson
Luc ROLLAND: I would obtain that some keywords would automatically mapped to upper or lower case (instead of using CTRL+U). I think it is possible using options and properties, but I don't understand how ? Use the case:u or case:l values in the appropriate style setting. For example,

Re: [scite] How can I hide mouse cursor when typing?

2005-10-29 Thread Neil Hodgson
Pawel Bielecki: Hello Dear SciTE Users/Developers. Does SciTE contains this feature? (hide.mousecursor.typing or sth) If not how can I help to add it? Scintilla and thus SciTE do not support this feature. I expect implementing it would require a thorough examination of the mouse and

Re: [scite] control-key status being missed?

2005-10-29 Thread Neil Hodgson
Andy Sy: Has anyone else experienced, when using SciTE 1.66, of the Ctrl-key failing to register fairly often? Quite often, when using Ctrl-Z to do repeated undos, a 'z' comes up instead of the undo action. I though initially it may be a problem with my Microsoft Wireless Comfort

Re: [scite] stage #1 - job queue encapsulation within a class

2005-10-27 Thread Neil Hodgson
The example mentioned CRITICAL_SECTION since I knew there was some code in Scintilla that used them that could be examined. Scintilla on Windows maintains a global font cache and since you may be switching fonts very often when, for example, laying out all of a large document, a lightweight

Re: [scite] stage #1 - job queue encapsulation within a class

2005-10-25 Thread Neil Hodgson
Robert Roessler: Aw, gee, just one little pure-virtual class (say, SciMutex?) with platform-specific derived classes (SciMutexWin32, SciMutexGLib, and SciMutexNone) should cover it... :) And fix up all the build/make files. If you or April want to then go ahead. Neil

Re: [scite] stage #1 - job queue encapsulation within a class

2005-10-24 Thread Neil Hodgson
April White: Oh, at this time, the SciTEJobQueue.h file contains some debugging define's and stuff, but they are only active when DEBUG is defined, but I also left in a line that define'd it. These are quite compiler-specific. 2. implement a means whereby a direct call to Execute() is

Re: [scite] stage #1 - job queue encapsulation within a class

2005-10-24 Thread Neil Hodgson
Robert Roessler: I just looked at this... I am [a little] surprised to find that SciTE is not structured the same as Scintilla vis-a-vis a platform abstraction layer with specific implementations as required. SciTE uses Scintilla's platform for some things. In any case, as GLib supports

Re: [scite] Confirmation that FilePath class does not have a copy constructor

2005-10-22 Thread Neil Hodgson
April: I just want to confirm that the FilePath class does not have copy constructor nor assignment operator. FilePath has no explicit copy constructor or assignment operator but SString has both and the only field in FilePath is an SString. Therefore, the automatically generated copy

Re: [scite] Confirmation that FilePath class does not have a copy constructor

2005-10-22 Thread Neil Hodgson
April: I think I did it because it makes more sense to change the execute directory to that of the job being executed. I think the current loop within SciTEBase::Execute() takes the last command's directory. For external commands on Windows, the startDirectory is copied from the

Re: [scite] startup script reports an error

2005-10-17 Thread Neil Hodgson
April White: However, recently I added a call to 'CenterCursor' after the cursor has been position by the OnOpen hook. This is not working. This error is reported: ...\SciTEExtension.lua:510: bad argument #1 to `VisibleFromDocLine' (number expected, got string) The function is:

Re: [scite] Scite font handling (GTK)

2005-10-17 Thread Neil Hodgson
Olof: I'm having some trouble getting Scite to display fonts properly. Running on Linux, I have the code.page set to 65001 and want to read utf-8 encoded files containing Japanese charsets. With fonts set to default, Japanese characters are simply not displayed (random characters are

Re: [scite] Make crashes

2005-10-15 Thread Neil Hodgson
Gary Richardson: I'm trying to use SciTE to develop MSP430 programs. SciTE appears to work fine but I'm having a problem with Make. Make executes the commands in the makefile OK but crashes before it can return to SciTE. Make can display its version and help text without error. Does make

Re: [scite] Copy'n'Paste on Linux

2005-10-13 Thread Neil Hodgson
Helmut Jarausch: Wouldn't it suffice if it stores the filename together with the information which bytes belong to the selection? Primary selection is handled by Scintilla (the editing widget) rather than SciTE (the application). Scintilla does not know about file names. It may be possible

Re: [scite] Re: CVS code - Modifications from outside SciTE

2005-10-11 Thread Neil Hodgson
Roger Sondermann: This can be the reason, because when I'm editing multiple source- files I ususally hit Save All from time to time. That will be in a 'sending' instance of SciTE but the bug is in a 'receiving' instance and this would only be the cause if you are editing the same files in

Re: [scite] exposing the SciTE 'execute tool' functionality to Lua

2005-10-11 Thread Neil Hodgson
April White: Off the cuff, I'd say that UI events should not be able to add multiple commands, but of course that is easier said than done. If the same executing value is used, then tool commmand could still be blocked, and only an extender or internal events such as command.go.needs would

Re: [scite] exposing the SciTE 'execute tool' functionality to Lua

2005-10-11 Thread Neil Hodgson
Doyle Whisenant: Does this mean that one can have multiple tools executing one after another with only one command? If not, is this possible? It may be but probably through a script rather than an extension to command.*. I use SciTE with BCX which means I need to: 1.) Run BCX to

Re: [scite] another suggestion

2005-10-11 Thread Neil Hodgson
This explanation of check.if.already.open is now in CVS: This option allows opening files in an existing instance of SciTE rather than always opening a new instance. When this option is set and SciTE is started, it checks to see if there are any other instances

Re: [scite] Re: CVS code - Modifications from outside SciTE

2005-10-10 Thread Neil Hodgson
Roger Sondermann: Maybe it's related to: ... These are now only found in the Buffer class and the application uses the CurrentBuffer() call to find the information. The attributes are isDirty, useMonoFont, unicodeMode, fileModTime, and overrideExtension. This looks like a good suspicion

Re: [scite] Advanced printing controls

2005-10-10 Thread Neil Hodgson
Julian Herten-Greaven: I've perused through the list of scintilla-related projects and have yet to find one that allows the inclusion of total pages in either header or footer. I'm not sure that can be discovered without doing a dry run, formatting the document as if for the printer.

Re: [scite] exposing the SciTE 'execute tool' functionality to Lua

2005-10-10 Thread Neil Hodgson
April White: Instead of having (abbreviated): if (jobToRun.jobType == jobExtension) { if (extender) { if (jobToRun.flags jobGroupUndo) SendEditor(SCI_BEGINUNDOACTION); extender-OnExecute(jobToRun.command.c_str()); if (jobToRun.flags

Re: [scite] Batch Fioles Styling

2005-10-10 Thread Neil Hodgson
Jim Pattee: The difference seems to be caused by the folder names in the IF statement containing spaces. If the folder names contains spaces, the parens match correctly. If they don't contain spaces the parens don't match. The main problem for you is that the batch support does not

Re: [scite] exposing the SciTE 'execute tool' functionality to Lua

2005-10-10 Thread Neil Hodgson
[Redirected back to the list as this is going to affect everyone] April White: I'm thinking out loud again... Add a class that encompasses: - the storage of Job jobQueue[commandMax] array and - the functionality of SciTEBase::ClearJobQueue(), SciTEBase::AddCommand() Yes, encapsulating

Re: [scite] Advanced printing controls

2005-10-10 Thread Neil Hodgson
Julian Herten-Greaven: As for being more trouble than it's worth.. well.. I'm not sure what to say. I realize I'm new here.. and not in much of a position to request features or functionality especially given that I'd have trouble getting the work done myself, but from a strictly objective

Re: [scite] scanf() in linux

2005-10-06 Thread Neil Hodgson
Peter Wu: When I run a program with scanf() function in linux, the program goes through without pause. It doesn't wait for me to input for scanf(). Output pane interaction is only implemented on Windows. Neil ___ Scite-interest mailing list

Re: [scite] Different indent size in PHP file

2005-10-03 Thread Neil Hodgson
Istvan: Thanks Neil. I've wrote a code in lua and I've put it into function OnChar(ch): if ch=='\n' then if props['FileExt']==php or props['FileExt']==html then if editor.StyleAt[editor.CurrentPos] 117 then props['tabsize']=2

Re: [scite] another suggestion

2005-09-28 Thread Neil Hodgson
Philippe: In UniqueInstance::ToggleOpenFilesHere, I have a vestigal hOtherWindow local variable which hide the class member... The test against NULL always failed... Just remove it and all goes well: Committed. Neil ___ Scite-interest

Re: [scite] exposing the SciTE 'execute tool' functionality to Lua

2005-09-28 Thread Neil Hodgson
Neil Hodgson: This does not appear to have taken threading into account. Which thread is it running on? How is this synchronized with other activities including other queued actions? You may need to lock the queue. I should explain here that for SciTE on Win32, tools are executed

Re: [scite] Suggestions for locating a problem with compile/build/go tools

2005-09-27 Thread Neil Hodgson
April White: I have in my user properties command.build.makefile=make command.build.Makefile=make command.build.*.mak=make -f $(FileNameExt) When I edit a makefile, the compile/build/go tools are grayed out. When I edit makefile.mak, the 'build' tool is enabled. Could this

Re: [scite] exposing the SciTE 'execute tool' functionality to Lua

2005-09-27 Thread Neil Hodgson
April White: Please consider the following http://www.scintilla.org/aprilw/scite-april-2005-09-24.zip This does not appear to have taken threading into account. Which thread is it running on? How is this synchronized with other activities including other queued actions? You may need to lock

Re: [scite] another suggestion

2005-09-27 Thread Neil Hodgson
When this option is set and SciTE is started, it checks to see if there are any other instances of SciTE open with the Options | Open Files Here menu item checked. If there is one then the new instance will send the list of files to open (if any) to this

Re: [scite] SciTE chosen as must have application for USB keys

2005-09-23 Thread Neil Hodgson
Philippe Lhoste: In short: The Framakey project provides a set of lightweight open source applications that fit on an USB key. A light version of 128MB keys, a more complete one (with OpenOffice) for the 256KB version. I wonder what would be required to be U3 compatible?

Re: [scite] Some SciTE (GTK+) queries

2005-09-22 Thread Neil Hodgson
Lionel: 1) It seems that selecting and then dragging text (with left button) *copies* rather than moves the selected text. This seems odd... other GTK+ apps (gedit, for instance) will move text if dragged; to drag/copy one holds down the Ctrl key while dragging. I have not found a way to

Re: [scite] More code simplification

2005-09-22 Thread Neil Hodgson
Peter Wu: I just tried above source code. save.session=1 is on in sciteglobal.properties but the last opened file cannot be loaded after restart scite. I noticed that scite 1.66 works fine, it can load the previous opened file successfully. OK, should be fixed now in CVS and

[scite] More code simplification

2005-09-20 Thread Neil Hodgson
The change I mentioned earlier with useMonoFont was part of a larger problem that I'd been intending to work on for a while. Several attributes were being stored both globally and for each buffer. Storing one piece of information in two locations is commonly regarded as a bad thing and leads to

Re: [scite] international language translation

2005-09-20 Thread Neil Hodgson
Peter Wu: I added the following item to locale.properties: Launch Ch Shell=translated_language_interpretion_here but it doesn't do the conversion when I start scite. is there a way to do the language conversion for this new added menu item? locale.properties allows localisation of text

Re: [scite] Indicators and performance

2005-09-19 Thread Neil Hodgson
Philippe: That is, I am re-styling all the text. It works but is it the more efficient way to go? That should be OK although it does involve touching each byte in the document. If it proves too slow then you can keep your own data structure containing all the indicated ranges and then

Re: [scite] About syntax highlighting - customizable lexer ?

2005-09-19 Thread Neil Hodgson
Mildred: Is there something easier to customize that ? Why not create a customizable lexer which loads a lua functions ...? There was a customisable lexer recently implemented but it is also quite complex. See the list archives starting here:

Re: [scite] Charset and viewport questions

2005-09-19 Thread Neil Hodgson
Jonathan Ballet: - I'm using SciTE under both Windows Linux (Debian). Under Linux, I put my caret on line 500, and the viewport show lines between 400 and 600 (for example), so my caret is in the middle of the viewport. If I switch to another buffer, and going back to the first one, the

Re: [scite] indentation problem

2005-09-19 Thread Neil Hodgson
I've just fixed a bug in monospaced mode. Each buffer maintains a monospaced mode flag but this wasn't being copied to the application state after opening a file so each opened file used the setting of the previous file. The state now resets when opening a file. Change committed to CVS.

Re: [scite] List of buffer

2005-09-19 Thread Neil Hodgson
Philippe Lhoste: Note: I still think a split window would be useful for SciTE. Neil advocates the use of two instances of SciTE, but I find this less convenient, with problems of focus and similar issues. And this is problematic if you want two separate views on the same buffer... I would

<    1   2   3   4   5   6   7   >