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
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
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
= {}
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
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 :)
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
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
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
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
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'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(
Take care,
-Mitchell;
___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest
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
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
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/
. 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
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
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
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,
> >
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
ing my extensions in
SciTE-tools.
-Mitchell;
___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest
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
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
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
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
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
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
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
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
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
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
ssary. It's been incredibly stable.
-Mitchell;
Neil
___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest
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
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
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
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
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 :).
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
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
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
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?
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
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
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]
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
ake care,
-Mitchell;
___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest
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;
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
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
ow so?
-Mitchell;
___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest
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
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
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
,
-Mitchell;
___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest
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.
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
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
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.
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
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
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
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
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
.
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
Take care,
-Mitchell;
___
Scite-interest mailing list
[EMAIL PROTECTED]
http://mailman.lyra.org/mailman/listinfo/scite-interest
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
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
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
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.
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 '
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
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
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
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
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
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
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
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
.
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
..' > '..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
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
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
___
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
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
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
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
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:
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
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
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
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
___
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
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
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
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
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
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.
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
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
../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 - 100 of 125 matches
Mail list logo