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

2007-09-07 Thread mitchell
it's regularly hit with large volumes of spam, sometimes causing delays of this length or longer. -Mitchell; -- Alexander Kriegisch ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: Properties fixes

2007-08-10 Thread mitchell
Hi, > Also, apparently style.lua.14 affects Lua functions. What do the other ones affect (#15 - #19), and again, how would I know this? The others are for table functions string, table, os, etc. You can see the source of the Lua lexer to find out what each does. -Mitch

[scite] Re: no syntax highlighting in scite

2007-08-03 Thread mitchell
Moreover the Languages menu is empty. I downloaded the prebuilt executable for linux and it has the same behavior. Any ideas? Did you put everything in /usr/share/scite? -Mitchell; thanks, rahul

[scite] Re: [lua] removing empty lines

2007-08-03 Thread mitchell
= {} for i = 1, #t do if t[i] ~= '' then table.insert(new, t[i]) end end -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

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

2007-07-29 Thread mitchell
I've included Changelog-AprilW.txt in which I've tried to list all of the changes I made. There are one or three changes outside of the command system I did which I hope will also be accepted. Is there a description on what exactly this is and does? I'm curious :)

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

2007-07-13 Thread mitchell
ou can still run 'gdb SciTE' without the DEBUG flag, but you cannot look into and step through the source code; it still shows the backtrace and what happened where though. -Mitchell; April ___ Scite-interest mailing list Scite-interest

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

2007-07-10 Thread mitchell
Scintilla to have dynamic lexxing support. The install is a bit of a pain right now until the code stabilizes more (mainly the Lua lexers). Take care, -Mitchell; Also, I had a question about how the support for those other languages is added in the LexHTML.cxx… how come the JavaScript painted

[scite] Re: Add shourcuts for built-in menu items?

2007-07-03 Thread mitchell
ts property. Look in SciTE.h for the command number for 'toggle all folds'. -Mitchell; [EMAIL PROTECTED] 2007-06-29 ___ Scite-interest mailing list Scite-interest@ly

[scite] Re: Weird selection

2007-07-03 Thread mitchell
sting word: -|testing This probably happens because '-' is not considered a word character in whichever properties file last specifies the word.characters property. -Mitchell; It doesn't happen with SciTE 1.73, just tested it. Thanks Istvan

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

2007-07-02 Thread mitchell
Hi, Builds for me too. Are all the Lua users happy enough with this for it to be committed? I think it's a good idea so Lua is not a system requirement for more powerful scripts that require other libraries. -Mitchell; Neil ___

[scite] Re: Enabling SciTE Macros without Filerx

2007-06-29 Thread mitchell
SciTE's capabilities though, heh. Take care, -Mitchell; The source modification: LuaExtension.h: add this to the LuaExtension class, just before the }; line: virtual bool OnMacro(const char *, const char *); LuaExtension.cpp: add this to the end of the file: bool LuaExtension::OnMacro(

[scite] Is a SciTEGTK.h possible?

2007-06-27 Thread mitchell
Take care, -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

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

2007-06-25 Thread mitchell
into SciTE. I find it relatively straightforward in Linux :) Take care, -Mitchell; Fortunately, there's always an obscure command-line flag to the rescue ;). I added these flags to the link: -rdynamic -Wl,-retain-symbols-file lua.txt where lua.txt is a list of the symbols we want; it&#

[scite] Re: Brace Highlighting Back Colour

2007-06-23 Thread mitchell
d background colour - is there anything I can do other than change the style? I just have the background of my braces match the editor background color. Take care, -Mitchell; On 6/23/07, *mitchell* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Hi, > I

[scite] Re: Brace Highlighting Back Colour

2007-06-23 Thread mitchell
nored background styling of bracket matching on the current line. The easiest way to fix this is to change the style of highlighted brackets. -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/

[scite] [Ann] SciTE-tools release 5

2007-06-19 Thread mitchell
. so it should be read. http://caladbolg.net/scite.php Here is a direct link to the platform independent archive: http://scite-tools.googlecode.com/files/scite-tools_r5.zip SVN users should note that I have removed pretty much everything but the scripts/ directory in trunk. Thanks, -Mitchell

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

2007-06-18 Thread mitchell
udl_Initialize at the end of the script should work, provided the script is in or called by the extension script. There is absolutely no need for OnClear as far as I can tell. Take care, -Mitchell; See: http://article.gmane.org/gmane.editors.scite.general/6837/match=april+w

[scite] Re: [Ann] SciTE-st Release 4

2007-06-16 Thread mitchell
system. It should be 'modules.ruby.ri_doc'. ri_doc also uses rcodetools. You can change it to use standard RI if you'd like though. -Mitchell; I also tried to load the init-scripts of this language module in User properties, but with no success. Ruby is still nil. Kind of regards, Holg

[scite] Re: 1.74 test downloads

2007-06-15 Thread mitchell
ng at this hour... -Mitchell; instanton - Original Message - *From: *mitchell <mailto:[EMAIL PROTECTED]> *To: *scite-interest <mailto:scite-interest@lyra.org> *Sent: *2007-06-16, 11:20:03 *Subject: *[scite] Re: 1.74 test downloads Hi, > >

[scite] Re: 1.74 test downloads

2007-06-15 Thread mitchell
sent him my files, I assumed he pulled the OnKey code from my repository, but it appears that was not the case. Neil, please change this. -Mitchell; ___ Scite-interest mai

[scite] Re: 1.74 test downloads

2007-06-15 Thread mitchell
ing my extensions in SciTE-tools. -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: Using GDB with SciTE

2007-06-15 Thread mitchell
Hi, Honestly, one of my major problems is deciding what damn shortcuts to use! Things like Alt+R don't work in GTK, and Ctrl+Alt+R are somewhat awkward. They will with the new OnKey extension :) -Mitchell; steve d. ___ Scite-int

[scite] Re: 1.74 test downloads

2007-06-15 Thread mitchell
gfind is still available, as well as 5.1's string.gmatch - [C API] Lua 5.0's luaL_openlib behavior is still available Changes: - table.setn was deprecated - loadlib was moved into the package table (package.loadlib) - Lua 5.0's long st

[scite] caret.fore property

2007-06-14 Thread mitchell
background colors will be the same, caret.fore should apply to both of them. Is it commit-worthy? -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] [Ann] SciTE-st Release 4

2007-06-14 Thread mitchell
this. Now you don’t have to memorize style numbers. You can use token names! Download here: http://googlecode.com/p/scite-tools/downloads/list SciTE-st website: http://caladbolg.net/scite_st.php Take care, -Mitchell; ___ Scite-interest mailing

[scite] Re: file_browser.lua in SciTE=tools

2007-06-13 Thread mitchell
Hi, > Perhaps I should just be contented with caf+c, caf+o working and leave caf+d aside. Thank you very much. Or you could learn about lua pattern matching and fix it yourself ;) http://www.lua.org/manual/5.1/manual.html#5.4.1 Take care, -Mitchell; [EMAIL PROTECTED] [EMAIL PROTEC

[scite] Re: file_browser.lua in SciTE=tools

2007-06-12 Thread mitchell
7;^([%d-]+%s%s[%d:]+%s[AP]M)%s+([%d,]+)' ^change Like I said, I have it working for my machine ;) -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: file_browser.lua in SciTE=tools

2007-06-12 Thread mitchell
Hi, Saving and replacing with it the original file_browser.lua, the splash black screen occurs while using caf+c. Silly me. I had a typo. DIR_SEP, not DIR_SE...its in SVN. -Mitchell; [EMAIL PROTECTED] [EMAIL PROTECTED]> 2007-06-13 - Original Message - *F

[scite] Re: file_browser.lua in SciTE=tools

2007-06-12 Thread mitchell
Hi, On windows, the shortcuts caf+d doesn't work as expected. With the working version on windows (the one which "breaks linux" which Mitchell mentioned) and placing the cursor behind the name of any folder, caf+d produces 'Can't stats directory'. I guess this

[scite] Re: file_browser.lua in SciTE=tools

2007-06-12 Thread mitchell
Hi, Not working. Now caf+c pops a splash of black windows with no output, no error message on windows. I cannot reproduce this. Are you sure your PLATFORM variable is set properly? -Mitchell; instanton - Original Message - *From: *mitchell <mailto:[EMAIL PROTEC

[scite] Re: Multiple language translations

2007-06-12 Thread mitchell
ed. Thanks. SString title = props.Get(...) and title.c_str() returns a const char*, or maybe just a char*; either way you can work with it. -Mitchell; instanton ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.o

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

2007-06-12 Thread mitchell
ssary. It's been incredibly stable. -Mitchell; Neil ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: file_browser.lua in SciTE=tools

2007-06-12 Thread mitchell
directory separator for Windows, and removed quoting in the LS_* commands. I believe that is where the double quoting came in. Latest should work now *crosses fingers* Take care, -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org ht

[scite] Re: save after

2007-06-11 Thread mitchell
local f = io.open('c:/windows/temp/out.txt') local out = f:read('*all') print(out) f:close() If you want to capture STDERR if there is an error, os.execute('put "foo.txt" 1> c:/windows/temp/out.txt 2>&1') should work

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

2007-06-11 Thread mitchell
hich is after the buffer has effectively been abandoned. If it is to go further up the stack then the number of contexts rises and the relationship of tis to saving has to be worked out. I'll look into both of these. Thanks! -Mitchell; Neil

[scite] Re: file_browser.lua in SciTE=tools

2007-06-11 Thread mitchell
hat and maybe any error messages will help you in figuring out what went wrong. -Mitchell; File Browser - C:/ Documents and Settings/ Emacs/ Extra Tools/ Grtii/ lout-3.31/ lout-3.31-docs/ MiCTeX/ ... Then, placing the cursor at the end of the line "MiCTeX\" and using the ke

[scite] Re: file_browser.lua in SciTE=tools

2007-06-11 Thread mitchell
Hi, After a whole day's trail & check I finally arrive at a solution: it is Mitchell's first solution, rather than the second -- changing in the return of get_abs_path but not in scite.Open seems to have resolved all the problem. Maybe Mitchell should update the svn again :).

[scite] Re: Compile problems

2007-06-10 Thread mitchell
Hi, i see. i didn't think you could open .vcproj files with scite. what is vcbuild/* is that a command? Ohhh, compiling *with* SciTE, not compiling SciTE itself. I misunderstood you. I'm afraid I cannot help in this department. Sorry about that. -Mitchell; do you have to ty

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

2007-06-10 Thread mitchell
t are probably too specialized for standard SciTE users. When all this is taken care of, I can send you a new tarball with all of the changes. Take care, -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/ma

[scite] Re: Compile problems

2007-06-10 Thread mitchell
lease help? I use VS2005 express and I just open the scintilla and scite vcbuild/*.vcproj, and build each solution. Maybe if you could provide more details, someone else may be able to help you more. Take care, -Mitchell; ___ Scite-interest ma

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

2007-06-10 Thread mitchell
Hi, 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?

[scite] Re: file_browser.lua in SciTE=tools

2007-06-10 Thread mitchell
mitchell wrote: Hi, > > scite.Open returns error message like cannot open file 'c:\scite"c:\folder\subfolder\file.txt"' I guess scite.Open doesn't handle quoted strings like it used to. In file_browser.lua's get_abs_path function, change the return

[scite] Re: file_browser.lua in SciTE=tools

2007-06-10 Thread mitchell
return ROOT..abs_path instead of its quoted alternative. I'll fix this in SVN. Take care, -Mitchell; if scite binary is installed in the folder c:\scite and the file to be open is c:\folder\subfolder\file.txt. Trying to replace the line scite.Open(abs_path) with editor:InsertText(p

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

2007-06-09 Thread mitchell
ely sure without any extra details. Take care, -Mitchell; Thanks and take care instanton - Original Message - *From: *mitchell <mailto:[EMAIL PROTECTED]> *To: *scite-interest <mailto:scite-interest@lyra.org> *Sent: *2007-06-09, 07:12:14 *Subject: *[scite]

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

2007-06-08 Thread mitchell
and SciTE CVS to find the differences. Take care, -Mitchell; mitchell-9 wrote: The SciTE-tools project has a key command manager where you can define emacs-like key chain commands without needing the Tools menu. http://caladbolg.net/scite.php Take care, -Mitch

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

2007-06-07 Thread mitchell
ake care, -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: Re2: statement.end property

2007-06-06 Thread mitchell
owing: if (i!=0) return 1; The line after this line is indented, which is wrong according to documentation and scite/src/cpp.properties. No I haven't seen it working. I guess this is a job for the LexCPP.cxx coder. Take care, -Mitchell;

[scite] Re: statement.end property

2007-06-04 Thread mitchell
Hi, But no other mentions of this variable was found in the code except header file: This property is probably forwarded to Scintilla and should be used in the lexer you're using. Search in scintilla/src/ -Mitchell; [EMAIL PROTECTED] ~/temp $ grep -rn statementEnd * scit

[scite] Re: Using GDB with SciTE

2007-06-02 Thread mitchell
ll of the open buffers and compare against a saved array of buffers. Oh, I see. Yeah, SciTE calls OnClear just before reading properties, so I think the previous filename is long gone. -Mitchell; Or am I missing something? I admit I've not kept up with all of the recent changes so I a

[scite] Re: Using GDB with SciTE

2007-06-02 Thread mitchell
ow so? -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: Using GDB with SciTE

2007-06-02 Thread mitchell
Hi, > > but my script can't detect it and can't update the closing tag. (The workaround is to do backspace twice and type the 'v' again). Use my OnKey to detect the backspace :) -Mitchell; ___ Scite-interest mailing li

[scite] [Ann] SciTE-st Release 3

2007-05-28 Thread mitchell
w lexer.lua API; lexers are simpler to write; please re-read the rewritten lexers_doc.txt (http://scite-tools.googlecode.com/svn/branches/scite-st/lexers/lexers_doc.txt) - New python.lua lexer - All 128 styles are available (turns out only 32 were originally) Take

[scite] Re: SciTE-st 2 - problems compiling bitlib

2007-05-26 Thread mitchell
Alexander, There are binaries located at the googlecode page if you do not want to compile it yourself. I had problems compiling it too, and ended up creating a makefile modeled after lpeg's makefile. It worked fine. Take care, -Mitchell; Sorry guys, I am aware of this being a bi

[scite] [Ann] SciTE-st release 2

2007-05-24 Thread mitchell
, -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: Stopping a crazy process inside SciTE

2007-05-22 Thread mitchell
d of changing the subject, post a new message to the list. Thanks, -Mitchell; So you have to enter & exit SciTE in order to cope with this situation; I think an "stop process" button would be nice, in order to stop any uncontrolled compilation or execution.

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

2007-05-22 Thread mitchell
u might want to think about background styling to style ahead of the current page. Right now it behaves like Scintilla's request for styling. I would need to figure out how to do that. -Mitchell; Neil ___ Scite-interest mailing list Scite-in

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

2007-05-21 Thread mitchell
Neil Hodgson wrote: Hi Mitchell, http://caladbolg.net/scite_st.php I think I've got it mostly installed OK but its not syntax highlighting. Windows or linux? Franck got it working in Windows a reply in this thread. I don't think I left out anything in the requiremen

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

2007-05-20 Thread mitchell
Hi, Very nice work! I'm hoping the Windows binaries work... When you try to run scite-st, it complains about missing lua5.1.dll as if it wasn't compile statically. You didn't read the documentation...You need to download the Lua binaries... /lexers/lexers_doc.

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

2007-05-19 Thread mitchell
ed on the page that will be worked on eventually. I'm hoping the Windows binaries work... Take care, -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: Has anyone ever used scite-tools on windows?

2007-05-17 Thread mitchell
appears snippets.lua is not being loaded. Make sure it is loaded (e.g. via startup script) require 'path/to/snippets.lua'. Take care, -Mitchell; has anyone tried this on windows and got it to behave or got this kind of error? If you don't know what I am talking about look

[scite] Determining when to highlight brackets

2007-05-13 Thread mitchell
Hi, 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? Thanks, -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http

[scite] Re: Changing tabsize

2007-05-07 Thread mitchell
Hi, OK, I see - then I will rephrase this question: How can I set the tabsize and the intendention size, and make sure that spaces are used for tabs? http://scintilla.sf.net/SciTEDoc.html has what you are looking for. -Mitchell; Since the current value for the scite global option

[scite] Re: Just a thought

2007-05-06 Thread mitchell
the string and then arrow right or left depending on my needs. All in all it would be nice, but I don't think its of the utmost importance. -Mitchell; Robert Roessler [EMAIL PROTECTED] http://www.rftp.com ___ Scite-interest mailing list Sci

[scite] Re: Properties question...

2007-04-17 Thread mitchell
. IIRC, ! means to use Pango to render fonts in GTK. -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Calling WndProc from Lexer

2007-04-14 Thread mitchell
Take care, -Mitchell; ___ Scite-interest mailing list [EMAIL PROTECTED] http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: [ANN] SciTE-tools with Lua 5.1.2

2007-04-03 Thread mitchell
commands.lua file most probably is a set of language-specific key commands which reference to a function in the language table (e.g. Ruby is the table name, ri_doc is a function in that table) Hope that helps a bit more in the understanding of my project structure. I should do a more specific writ

[scite] Re: [ANN] SciTE-tools with Lua 5.1.2

2007-04-03 Thread mitchell
whenever I get the chance. Take care, -Mitchell; Franck. ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] [ANN] SciTE-tools with Lua 5.1.2

2007-04-02 Thread mitchell
earlier because I wasn't aware it was still being used until I was notified so. The link I gave has both lots of good information, and links to the SVN repository and googlcode project with binary and source downloads for both windows and linux. Take care, -Mit

[scite] Re: Next version

2007-03-31 Thread mitchell
Hi, Any new or recent binaries for the 5.1 test version that I can download? If not, I suppose I will grab the sources... I haven't modified anything since Lua 5.1.2 hasn't been released yet. They are at rc5, so it shouldn't be long I don't think.

[scite] Re: Is this a bug?

2007-03-26 Thread mitchell
the string "^\[". This is not working, even if I omit > the anchor "^" from the pattern. (The code in which this embedded IS > working properly, since I can replace pattern with other search > strings successfully.) use "\\[" for a literal '

[scite] Re: [ANN] SciTE 1.72 with Lua 5.1

2007-03-25 Thread mitchell
ion* because the same Lua state is being used. Therefore it must be modified directly in order to accurately reflect the status of loaded packages. I will try to experiment more with different things, however I believe I have already exhausted every conceivable thought as to getting it to work

[scite] Re: Next version

2007-03-22 Thread mitchell
5.1.2 will be a good idea. Take care, -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: Next version

2007-03-21 Thread mitchell
e Lua (5.1) extension to be free of errors and whatnot and submit it sometime this weekend hopefully :) -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: [ANN] SciTE 1.72 with Lua 5.1

2007-03-20 Thread mitchell
Hi, - _ALERT() seems to be missing... Since _ALERT is just an alias to Lua's print function, I just removed it... It can be re-added if necessary of course. -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org

[scite] Re: changing which buffer is currently viewed

2007-03-16 Thread mitchell
nt] index) Switches to the buffer specified by index Take care, -Mitchell; Thanks for any help, GF ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] LuaExtension::Clear

2007-03-15 Thread mitchell
plement this method to clean up after themselves, but I need to clean up specific data, not just properties as originally intended. Does my change have any side effects? Take care, -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org htt

[scite] Re: [ANN] SciTE 1.72 with Lua 5.1

2007-03-09 Thread mitchell
LSINDEX and recreate it with the initial state, but package.loaded is unchanged in REGISTRYINDEX. I found this out when I looked at Lua's source code. That is why I find it necessary to modify the value in REGISTRYINDEX. Is there any particular reason why this needs to be changed? Take ca

[scite] Re: intellisense and autocomplete

2007-03-04 Thread mitchell
r that language or perhaps some similar solution? You can use an API file and call Complete Symbol. Take care, -Mitchell; Many thanks, J3-Fre@ ___ Scite-interest mailing list

[scite] Re: [lua] props keys listing

2007-03-04 Thread mitchell
. Take care, -Mitchell; I need this because i would like to write a lua script which lists all defined commands and their shortcuts. regards, Holger ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite

[scite] Re: load not lua

2007-02-12 Thread mitchell
..' > '..OUT) local f = io.open(OUT) print(f:read('*all')) f:close() Is that what you're looking for? -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: load not lua

2007-02-12 Thread mitchell
xample would be appreciated. No. Only Lua is embedded in SciTE. It is very small and very fast. This leaves SciTE pretty much unbloated. With a little work, you could probably embed another language in it. Take care, -Mitchell; thanks. oh, and the languag

[scite] Re: Temporarily Disable Closing ',", etc.

2007-02-08 Thread mitchell
e.g. (untested) ENABLECLOSURE = true function OnChar(s) if ENABLECLOSURE then -- complete closure code end end function ToggleClosureFlag() ENABLECLOSURE = not ENABLECLOSURE end and then assign a key shortcut to ToggleClosureFlag Take care, -Mitchell; Thank you, Jonathan ___

[scite] Re: userlist questions

2007-02-08 Thread mitchell
ditor.AutoCSeparator) for fname, _ in pairs(project_files) do str = str..fname..sep end str = string.sub(str, 1, -2) -- chop off last separator char editor:AutoCShow(10, str) -- 10 could be another int Take care, -Mitchell; as i see in the other scripts, the userlist is only a string where the

[scite] Re: Two small lua questions

2007-02-08 Thread mitchell
eight=2210(int rowCount,) get int AutoCGetMaxHeight=2211(,) Take care, -Mitchell; > > ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: problems with lua scripts

2007-02-06 Thread mitchell
ng No, unfortunately. Many thanks in advance again! No problem :) Take care, -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: problems with lua scripts

2007-02-05 Thread mitchell
he documentation, this is available only in windows. Take care, -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: Help With Custom Abbreviation File

2007-02-05 Thread mitchell
es the inputdialog form in the SciTE.res file, you don't have to worry ;) If you have any other questions, or anything to discuss, feel free to ask. Take care, -Mitchell; Neil ___ Scite-interest mailing list Scite-interest@lyra.org http:

[scite] Re: Help With Custom Abbreviation File

2007-02-03 Thread mitchell
http://caladbolg.net/scite_snippets.php This is probably overkill for simple abbrevs, but if you'll ever want something more feature-full, it doesn't get much better than snippets. Take care, -Mitchell; ___ Scite-interest m

[scite] Re: Multiple SciTE Windows

2007-02-02 Thread mitchell
etween then and open another "group" in another window. Is there some command line option that makes sends it to a new window instead of always following the scite.properties file? In a global or user properties file, buffers=[something greater than one] check.if.already.open=0 Take

[scite] Re: File browser and other features in SciTE

2007-02-02 Thread mitchell
adbolg.net/scite.php#file_browser Take care, -Mitchell; At the end, thanks for this wonderful ( almost :) ) editor. Regards Bambero ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: how to test in a script if a user list is active?

2007-02-02 Thread mitchell
Hi, How do I test in a script if a user list is active? editor:AutoCActive() should be what you want. (returns a bool) Take care, -Mitchell; []'s - Walter ___

[scite] Re: reverse find in Lua

2007-02-02 Thread mitchell
Hi, Mi wish was the second option. I like the scite.MenuCommand, but I'm working with 1.71 :) Well then I know of no way to invoke the command. Hey, will scite.MenuCommand accept the constants as parameters? No. Take care, -Mitchell; []'s - Walter On 2/2/07, mitche

[scite] Re: reverse find in Lua

2007-02-02 Thread mitchell
local text = editor:textrange(i, pos) if string.find(text, '^'..search_string) then pos = i break end end -- pos contains the start position of the last occurance -- of search_string if the latter, why not just: scite.MenuCommand(212) -- find previous Take care, -Mitchel

[scite] [ANN] SciTE 1.72 with Lua 5.1

2007-01-30 Thread mitchell
flags have been turned on). If this is tested by enough people and proves stable and quite usable, Neil has agreed to the possibility of committing it into SciTE itself. Thanks, -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http

[scite] Re: Version 1.72 in about a week

2007-01-09 Thread mitchell
Hi, An option to save the current SciTEGlobal.properties would be really nice. I was previously using a huge command line with options until I found this out. You can just open it up, edit it, and save it, provided you have the proper permissions. -Mitchell

[scite] Re: Version 1.72 in about a week

2007-01-09 Thread mitchell
Hi, i defined the script with extension.*=$(SciteDefaultHome)\base.lua in sciteuser.properties file the menuitem doesnt appear You need to use: ext.lua.startup.script=base.lua extension.* is for lua scripts to load on specific file extensions. -Mitchell; regards Frank

[scite] Re: Scite dialog input for extensions

2007-01-08 Thread mitchell
the label (GTK does this nicely). By the way, is there a way to prevent every extension from showing in the Tools menu? That I do not know. I suspect not... -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.

[scite] [patch] unintended Lua stack growth bug

2007-01-08 Thread mitchell
Hi, I discovered that all LuaExtension.cxx CallNamedFunction functions leave unused strings on the stack if they aren't global functions. Every time an undefined global is called (e.g. OnChar, OnClear, etc.), the string pushed is not popped. Thus the stack size continuously grows. -Mit

[scite] Re: Lua 5.1.1 in Scite 1.7.2??

2007-01-04 Thread mitchell
ns. I needed no other dependencies in this case. It is still largely untested, though. -Mitchell; ___ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest

[scite] Re: Enabling Lua loadlib for SciTE

2007-01-03 Thread mitchell
../lua/src/lib/*.c # gcc $(INCLUDEDIRS) $(CXXTFLAGS) -c ../lua/src/lib/*.c CXXFLAGS=$(CXXTFLAGS) and then on line 108: $(CC) `$(CONFIGTHREADS)` -DGTK $^ -o $@ `$(CONFIGLIB)` -llua50 -llualib50 -Mitchell; Here (for example) is how to get lposix loaded. Go to http://www.tecgraf.puc-rio.br/~lhf/ft

  1   2   >