Great, it works. :)
Thanks a lot.
Am 22.08.2019 um 20:34 schrieb Paul K:
Hi Ulrich,
Thank you for the feedback and the kind words!
In addition to "hide this file type" i would like to see a "dont open this type in
zbe".
Do you still want to see those files in the tree, even though you
don't want to open them?
You may try adding the following to the config (update the table to
add extensions you want to ignore):
package {
onFiletreeActivate = function(self, tree, event, item_id)
local fname = tree:GetItemText(item_id)
local ext = wx.wxFileName(fname):GetExt()
if ({skip = true, myext = true})[ext] then return false end
end,
}
Allways after opening a lua file in zbs i press F12 to fold the source. Is it possible to
configure a "default folding level at file open" ?
Try adding the following to the config (or turn it into a real package):
package { onEditorLoad = function(self, editor) editor:FoldSome() end }
Paul.