On Saturday 16 June 2007 18:09:31 mitchell wrote:
> I've forgotten to update the properties files to reflect the new module
> 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;

Thank you, now i got the modules working.

Needed to change:
command.6.$(file.patterns.rb)=dostring Ruby.ri_doc ""
to:
command.6.$(file.patterns.rb)=dostring modules.ruby.commands.ri_doc()

Needed to add the parentheses, maybe for lua 5.1.

Also needed to change the redirect operator from: "&>" to ">".
The patch contains these changes.

kind of regards, Holger


>
> > 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, Holger
> >
> > Btw.: Thanks for this great work, the sublexers seems working fine to me.
> >
> > On Thursday 14 June 2007 23:59:48 mitchell wrote:
> >> Hi,
> >>
> >> It is with pleasure that I am releasing the 4th version of SciTE-st, the
> >> SciTE that supports dynamic Lua lexers. Notable new features:
> >>
> >>      * Lexers are easier than ever to embed (see
> >> http://scitetools.wordpress.com/2007/06/08/updates-to-lexer-api/)
> >>      * A basic errorlist.lua lexer that detects generic errors for now.
> >>      * Double-click support in the output pane via
> >> scripts/scite/decoder.lua * New SCI_GETSTYLENAME Scintilla message that
> >> retrieves the name of the token associated with the style under the
> >> caret. modules.scite.snippets.show_scope (Alt+I key shortcut) utilizes
> >> 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 list
> >> [email protected]
> >> http://mailman.lyra.org/mailman/listinfo/scite-interest
>
> _______________________________________________
> Scite-interest mailing list
> [email protected]
> http://mailman.lyra.org/mailman/listinfo/scite-interest


Index: scripts/ruby/commands.lua
===================================================================
--- scripts/ruby/commands.lua	(Revision 124)
+++ scripts/ruby/commands.lua	(Arbeitskopie)
@@ -27,7 +27,7 @@
 if PLATFORM == 'linux' then
   FILE_IN  = '/tmp/scite_input'
   FILE_OUT = '/tmp/scite_output'
-  REDIRECT = ' &> '
+  REDIRECT = ' > '
 elseif PLATFORM == 'windows' then
   FILE_IN  = os.getenv('TEMP')..'\scite_input.txt'
   FILE_OUT = os.getenv('TEMP')..'\scite_output.txt'
Index: scripts/html/commands.lua
===================================================================
--- scripts/html/commands.lua	(Revision 124)
+++ scripts/html/commands.lua	(Arbeitskopie)
@@ -28,7 +28,7 @@
 if PLATFORM == 'linux' then
   FILE_IN  = '/tmp/scite_input'
   FILE_OUT = '/tmp/scite_output'
-  REDIRECT = '" &> '
+  REDIRECT = '" > '
   PHP_CMD  = 'php -r "'
 elseif PLATFORM == 'windows' then
   FILE_IN  = os.getenv('TEMP')..'\\scite_input.php'
Index: scripts/php/commands.lua
===================================================================
--- scripts/php/commands.lua	(Revision 124)
+++ scripts/php/commands.lua	(Arbeitskopie)
@@ -27,7 +27,7 @@
 local FILE_OUT, REDIRECT, PHP_CMD
 if PLATFORM == 'linux' then
   FILE_OUT = '/tmp/scite_output'
-  REDIRECT = ' &> '
+  REDIRECT = ' > '
   PHP_CMD  = 'php-cgi -f '
 elseif PLATFORM == 'windows' then
   FILE_OUT = os.getenv('TEMP')..'\\scite_output.txt'
Index: html.properties
===================================================================
--- html.properties	(Revision 124)
+++ html.properties	(Arbeitskopie)
@@ -47,21 +47,21 @@
 autocomplete.php.fillups=(
 
 command.name.1.$(file.patterns.html)=Encode URL
-command.1.$(file.patterns.html)=dostring HTML.encode_url
+command.1.$(file.patterns.html)=dostring modules.html.commands.encode_url()
 command.mode.1.$(file.patterns.html)=subsystem:lua,savebefore:no
 
 command.name.2.$(file.patterns.html)=Decode URL
-command.2.$(file.patterns.html)=dostring HTML.decode_url
+command.2.$(file.patterns.html)=dostring modules.html.commands.decode_url()
 command.mode.2.$(file.patterns.html)=subsystem:lua,savebefore:no
 
 command.name.3.$(file.patterns.html)=Encode HTML Entities
-command.3.$(file.patterns.html)=dostring HTML.encode_html_entities
+command.3.$(file.patterns.html)=dostring modules.html.commands.encode_html_entities()
 command.mode.3.$(file.patterns.html)=subsystem:lua,savebefore:no
 
 command.name.4.$(file.patterns.html)=Decode HTML Entities
-command.4.$(file.patterns.html)=dostring HTML.decode_html_entities
+command.4.$(file.patterns.html)=dostring modules.html.commands.decode_html_entities()
 command.mode.4.$(file.patterns.html)=subsystem:lua,savebefore:no
 
 command.name.5.$(file.patterns.html)=Strip Tags
-command.5.$(file.patterns.html)=dostring HTML.strip_tags
+command.5.$(file.patterns.html)=dostring modules.html.commands.strip_tags()
 command.mode.5.$(file.patterns.html)=subsystem:lua,savebefore:no
Index: lua.properties
===================================================================
--- lua.properties	(Revision 124)
+++ lua.properties	(Arbeitskopie)
@@ -31,9 +31,9 @@
 calltip.lua.end.definition=)
 
 command.name.1.*.lua=Exec Lua
-command.1.*.lua=dostring Editing.lua_exec
+command.1.*.lua=dostring modules.scite.editing.lua_exec()
 command.mode.1.*.lua=subsystem:lua,savebefore:no
 
 command.name.2.*.lua=Goto Required
-command.2.*.lua=dostring Lua.goto_required
+command.2.*.lua=dostring modules.lua.commands.goto_required()
 command.mode.2.*.lua=subsystem:lua,savebefore:no
Index: ruby.properties
===================================================================
--- ruby.properties	(Revision 124)
+++ ruby.properties	(Arbeitskopie)
@@ -52,13 +52,13 @@
 command.5.$(file.patterns.rb)=ruby -r profile $(FileNameExt)
 
 command.name.6.$(file.patterns.rb)=RI
-command.6.$(file.patterns.rb)=dostring Ruby.ri_doc ""
+command.6.$(file.patterns.rb)=dostring modules.ruby.commands.ri_doc()
 command.mode.6.$(file.patterns.rb)=subsystem:lua,savebefore:no
 
 command.name.7.$(file.patterns.rb)=Toggle Block
-command.7.$(file.patterns.rb)=dostring Ruby.toggle_block
+command.7.$(file.patterns.rb)=dostring modules.ruby.commands.toggle_block()
 command.mode.7.$(file.patterns.rb)=subsystem:lua,savebefore:no
 
 command.name.8.$(file.patterns.rb)=Goto Required
-command.8.$(file.patterns.rb)=Ruby.goto_required
+command.8.$(file.patterns.rb)=dostring modules.ruby.commands.goto_required()
 command.mode.8.$(file.patterns.rb)=subsystem:lua,savebefore:no
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to