Roman Hubacek, 26.04.2006 17:16:
Hi, I made little more examination and I have finished with this code,
which works well also with opening new buffers:
function openPasFromDpr2()
local path = props['FileDir'] --without trailing /\
local file = editor:textrange(0, editor.Length)
for c in string.gfind(file, "\'([^\']*)\'") do
scite.Open(path .. '\\' .. c)
end
end
It just read complete file and do some parsing along it.
note that the begin-end-section can also contain '.
Yes, I have noticed it. I have sent some improvement a few minutes ago.
It just reads the 'uses' part of file.
-- Roman
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest