Hi,
> <snip>
> scite.Open returns error message like
cannot open file 'c:\scite"c:\folder\subfolder\file.txt"'
I guess scite.Open doesn't handle quoted strings like it used to. In
file_browser.lua's get_abs_path function, change the return statement to
read
return ROOT..abs_path
instead of its quoted alternative. I'll fix this in SVN.
Take care,
-Mitchell;
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
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest