Hi,

Using the SciTE-tools binary together with the lua script file_browser.lua I 
was able to open top level and second level folders on a hard disk under 
windows. However, when the root of a folder is already a subfolder, it cannot 
be open -- uaing the shortcut keys caf+o simply indent the name of the next 
subfolder of the same level with the current one. Besides that, a file located 
in a subfolder cannot be open directly using file_browser.lua: scite.Open 
returns error message like 

cannot open file 'c:\scite"c:\folder\subfolder\file.txt"'

if scite binary is installed in the folder c:\scite and the file to be open is 
c:\folder\subfolder\file.txt. Trying to replace the line scite.Open(abs_path) 
with editor:InsertText(pos, abs_path), the correct file name and path is 
returned at the current location, which is "c:\folder\subfolder\file.txt" in 
the above case. I cannot figure out where the "'c:\scite" prefix comes from in 
the error message, and cannot find any references to scite.Open in the source 
code of scite and Scintilla either. Any clues?


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

Reply via email to