Hello,

I have a few questions about using Scite :

- I often use the utf-8 charset for my file (code.page=65001 in
SciTEUser.properties), but sometimes, I would like to use another
charset, like iso-8859-15. How could I do to quickly switch between
those two charsets, without editing my properties file, and
comment/uncomment the corresponding lines ?
I tried to make a Lua script which do that, but nothing very interesting ...

if props['code.page'] == 0 then
        props['code.page'] = 65001
        ---print "Switching to Unicode"
else
        props['code.page'] = 0
        --scite_SetProp('code.page', 0)
        --print "Switching to ISO"
end

It switchs the charset, but I don't know how to apply on the current
buffer (or all buffers) ...



- I'm using SciTE under both Windows & Linux (Debian). Under Linux, I
put my caret on line 500, and the "viewport" show lines between 400 and
600 (for example), so my caret is in the middle of the "viewport".
If I switch to another buffer, and going back to the first one, the
caret is still on the same line number, but the "viewport" is different
(for example, showing lines from 450 to 650).
It's very disturbing ... :/ Is it a known bug ?


I thought that I have another question, but I can't remember for now, so
... :)


Regards,
        Jonathan
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to