instanton,

Maybe I should describe the problem in more detail. In a fresh buffer, using the shortcuk keys caf+c, I can open the root folder of the C: disk, which looks as follows:

> <snip>

I have updated SVN with a fix to read STDERR in windows incase something goes wrong. I noticed that when I tried to open my C:\System Volume Information\, I was getting a File Not Found error (even though it tab-completes in cmd.exe...go figure) When STDERR is written to, STDOUT is empty, and thus no directory contents are inserted if opening a directory -- causing the next line to indent. Try that and maybe any error messages will help you in figuring out what went wrong.

-Mitchell;

File Browser - C:/
Documents and Settings/
Emacs/
Extra Tools/
Grtii/
lout-3.31/
lout-3.31-docs/
MiCTeX/
...
Then, placing the cursor at the end of the line "MiCTeX\" and using the keys caf+o, the buffer content is changed into File Browser - C:/
Documents and Settings/
Emacs/
Extra Tools/
Grtii/
lout-3.31/
lout-3.31-docs/
MiCTeX/
    Asymptote/
    dviout/
    LaTeX IDE/
    MiKTeX 2.6/
    Misc Tools/
    Viewers/
    Readme.txt
...
Now from here I can open the file Readme.txt without problem. But if I put the cursor at the end of the line " LaTeX IDE/" and using caf+o again, I get

File Browser - C:/
Documents and Settings/
Emacs/
Extra Tools/
Grtii/
lout-3.31/
lout-3.31-docs/
MiCTeX/
    Asymptote/
    dviout/
    LaTeX IDE/
            MiKTeX 2.6/
    Misc Tools/
    Viewers/
    Readme.txt
...
Note that " MiKTeX 2.6/" from above is not a subfolder of "LaTeX IDE", and there is a double Tab infront of "MiKTeX 2.6". What I expect is that the content of the subfolder "C:\MiCTeX\LaTeX IDE" should be displayed after the last operation (i.e. the second use of caf+o mentioned above), but it is now the case now. What more should I do to get it work? Thanks again. [EMAIL PROTECTED] <mailto:<!--AID_FROMADDRESS_BEGIN-->[EMAIL PROTECTED]<!--AID_FROMADDRESS_END-->>
2007-06-11

    ----- Original Message -----
    *From: *mitchell <mailto:[EMAIL PROTECTED]>
    *To: *scite-interest <mailto:[email protected]>
    *Sent: *2007-06-11, 02:30:54
    *Subject: *[scite] Re: file_browser.lua in SciTE=tools

    mitchell wrote:
     > 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.

    Oops, spoke too soon. Find the only occurance of 'scite.Open' and
    change
    the line to read
      scite.Open( string.sub(abs_path, 2, -2) )

    Do not change get_abs_path because the quotes are needed for LS_CMD and
    friends.

    Sorry about that,
    -Mitchell;


------------------------------------------------------------------------

_______________________________________________
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

Reply via email to