Hello Scite-interest,

Vadikan's <unattended.oszone.net> advice works very well.
Add [sections] in files *.properties
For example so:
----------------------------------------------------------
[Output Screen]      Position and size console screen (this comment)
split.vertical=0
#output.horizontal.size=200
#output.scroll=0
# ..........................

[Bars]               All toolbars (this comment)
tabbar.visible=1
tabbar.hide.one=0
#toolbar.detachable=1
#toolbar.usestockicons=1
#menubar.detachable=1
statusbar.visible=1
# ..........................
----------------------------------------------------------

Folding works superb!

In addition possible to use script (SciTEStartup.lua):
----------------------------------------------------------
function ToggleFoldAll()
    for i = 0,editor.LineCount do
        if editor.FoldLevel[i] > SC_FOLDLEVELHEADERFLAG then
            editor:MarkerAdd(i,1)
            editor:ToggleFold(i)
        end
    end
    props['fold.compess']='1'
end

function OnUpdateUI()
    if props['FileNameExt'] == 'SciTEGlobal.properties' then
        if props['fold.compess'] ~= '1' then
            ToggleFoldAll()
        end
    end
end

function OnOpen()
    if props['FileNameExt'] == 'SciTEGlobal.properties' then
        props['fold.compess'] = '0'
    end
end
----------------------------------------------------------

-- 
mozers
<http://scite.ruteam.ru>


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

Reply via email to