Mitchell Foral | 1 Aug 2006 17:34
Picon

Periods in properties file values

Hello,

Is it possible to have '.'s in values in properties files? I have Lua
functions inside tables defined so I would like to be able to have
commands call them. (e.g. 'command.1.*=Container.myfunc')

-Mitchell;
Walter Cruz | 1 Aug 2006 19:23
Picon
Gravatar

more than a function OnChar

Hi all How do I use 2 functions OnChar, withou extman?

[]'s
- Walter

_______________________________________________
Scite-interest mailing list
Scite-interest <at> lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest
mozers | 2 Aug 2006 08:46
Picon

Re: Periods in properties file values

Mitchell wrote:
MF> Is it possible to have '.'s in values in properties files? I have Lua
MF> functions inside tables defined so I would like to be able to have
MF> commands call them. (e.g. 'command.1.*=Container.myfunc')

Try to make it using "dostring".
Sample:
command.47.*=dostring local t={'a','b','c'} output:ClearAll() table.foreach(t,print)

--

-- 
mozers
<http://scite.ruteam.ru>
Neil Hodgson | 3 Aug 2006 14:00
Picon

Re: more than a function OnChar

Walter Cruz:

> Hi all How do I use 2 functions OnChar, withou extman?

   There is no built in multiplexing of event handlers. Either use
extman or write your OnChar to perform both functions.

   Neil
Neil Hodgson | 3 Aug 2006 14:00
Picon

Re: folding at #defines

alex:

> in c files folding begins at #defines
> or #if
> Is it possible to remove these keywords, so that the editor
> dont fold at these?

fold.preprocessor=0

   Neil
Santtu Lintervo | 7 Aug 2006 15:12
Picon
Picon

Scite does not take input

hi,

i just updated Scite to 1.7 with the rest of my system (freebsd 6.0),
and now scite does not take any input in editor pane.

keypresses seem to get delivered to scite, because i can move in a 
document,
and for example selecting works (keeping shift pressed, or ctrl-A).

but when i try to type something, nothing happens.

any ideas?

-santtu
April White | 7 Aug 2006 15:32
Picon
Favicon

Re: Scite does not take input

Santtu Lintervo wrote:
> keypresses seem to get delivered to scite, because i can move in a 
> document,
> and for example selecting works (keeping shift pressed, or ctrl-A).
>
> but when i try to type something, nothing happens.
This may not sound very polite, but is the 'read-only' flag turned on, 
under Options?
Somewhere the option read.only may be set to 1

April

--

-- 
I'm not an expert...
    I just play one from time to time.
Santtu Lintervo | 7 Aug 2006 23:20
Picon
Picon

Re: Scite does not take input

April White wrote:
> This may not sound very polite, but is the 'read-only' flag turned on, 
> under Options?
> Somewhere the option read.only may be set to 1
>
> April
>
hi april,

You're being very polite, ansvering to my question and trying to help.

But it is not turned on. I also forgot to mention that if I edit an 
existing file,
deleting characters works ok (both delete and backspace), but I can't 
type in
anything new content, except linefeeds.

-santtu
Neil Hodgson | 8 Aug 2006 01:43
Picon

Re: Scite does not take input

   1.70 changed keyboard input in two ways, using the GTK+ "input
method" functions to receive keystrokes and to convert between
character sets using an approximate option to iconv. You could try
switching to/from UTF-8 using code.page or switching character.set. If
your platform doesn't support the //TRANSLIT option to iconv but does
not report failure, you could try commenting out the code line that
mentions //TRANSLIT in scintilla/gtk/Converter.h and rebuilding

   Neil
Istvan | 8 Aug 2006 08:54
Picon
Favicon

Long path problem

Hi,

Today I dicovered on Linux, that Scite doesn't want to open any file if the 
path+filename is longer than 125 characters when check.if.already.open=1
I tried on FC3 and FC5 and the problem is same.
I did this:
mkdir

/very_long_url/very_long_url/very_long_url/very_long_url/very_long_url/very_long_url/very_long_url/very_long_url/very_long_url/very_long_url 
-p
I copied "test.html" to that the deepest directory.
I tried to open the file using command (I tried drag and drop too) "SciTE 
test.html" and got this error:
Couldn't open file 
'/very_long_url/very_long_url/very_long_url/very_long_url/very_long_url/very_long_url/very_long_url/very_long_url/very_long_ur'

The end of the path is cut off at the 125 characters.

If I set the check.if.already.open=0 then a new instance of scite will open 
corretly the file.

The above operation works perfect under Windows even the 
check.if.already.open=1 ot  check.if.already.open=0.

Thanks!
Istvan

Gmane