On Mon, 05 Feb 2007 16:22:10 -0500, mitchell <[EMAIL PROTECTED]> wrote:

>Hi,
>
>> this does not work, but all of the tree are working, if they are alone
>>   but if two or three are here in the same time, only this buffers.lua works
>> SciTE 1.69) on ubuntu:
>> 
>> (end of global.properties)
>>     ext.lua.startup.script=/usr/share/scite/SciTE_TicTacToe.lua
>>     command.name.1.*=Tic Tac Toe
>>     command.1.*=SciTE_TicTacToe
>>     command.subsystem.1.*=3
>>     command.save.before.1.*=2
>> 
>> 
>>     #hmm geht irgendwie nicht
>>     ext.lua.startup.script=/usr/share/scite/SciTE_TabSpace.lua
>>     command.name.2.*=Spaces to Tabs
>>     command.2.*=SpaceToTab
>>     command.subsystem.2.*=3
>>     command.save.before.2.*=2
>> 
>>                
>>     ext.lua.startup.script=/usr/share/scite/buffers.lua
>>     command.name.3.*=Switch Buffers
>>     command.3.*=do_buffer_list
>>     command.subsystem.3.*=3
>>     command.mode.3.*=savebefore:no
>>     command.shortcut.3.*=Ctrl+K
>
>You can only specify one lua startup script. Since you specified 
>buffers.lua last, it will be loaded.
>
>I recommend you have one script, for example extension.lua and in it:
>
>       require 'SciTE_TicTacToe.lua'
>       require 'SciTE_TabSpace.lua'
>       require 'buffers.lua'
>
>assuming extension.lua is in /usr/share/scite
>
>and in your properties file:
>
>       ext.lua.startup.script=/usr/share/scite/extension.lua
>
>Now that one file will load and load all the others.

Hello Mitchell,

thank you very much for your answer and explanation.

I didn't know about startup script, I thought every
macro has to be declared as startup script.


>
>> 
>> Small second question:
>>     find.replace.advanced=1 geht das? linux?
>>   doesn't change anything (no button replace in open buffers=
>> 
>In the documentation, this is available only in windows.
>
>Take care,
>-Mitchell;

for the second question: this I had overread.

One small thing: in find in files (also linux), 
i cannot uncheck the match case (it is checked, and that I don't want),
I search in 95% of all cases case insensitive.

Problem I have with favs.lua and buffers.lua:
buffers.lua: The list of open buffers is shown, but if 
I select one of this entries, nothing happens (the selected buffer will not get 
the focus).

The favs scrips (I have a SciTE.favs file with valid entries) doesn't show up.

You know the files?

http://lua-users.org/wiki/SciteFavs
http://lua-users.org/wiki/SciteBufferSwitch

command.name.5.*=Favourites
command.5.*=SelectFavourite
command.subsystem.5.*=3
command.mode.5.*=savebefore:no
command.shortcut.5.*=Ctrl+-

command.name.3.*=Switch Buffers
command.3.*=do_buffer_list
command.subsystem.3.*=3
command.mode.3.*=savebefore:no
command.shortcut.3.*=Ctrl+K

One thing: 
(a little OT)
I have a DrPython plugin, where I can sort the buffers,
rearrange them and select with the initial letter of the beginning
of the filename typing the letters.

Is there such a script available for SciTE?
Screenshot: http://mitglied.lycos.de/drpython/DocList.png

Many thanks in advance again!

-- 

Franz Steinhaeusler

_______________________________________________
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to