Menu

history and horizontal vs vertical pane mixup

Help
Vlad Alex
2008-03-21
2013-04-26
  • Vlad Alex

    Vlad Alex - 2008-03-21

    Hi,

    I noticed that Alt+2 (Two Horizontal Panes) produces two vertical panes, and the other way around for Alt+3; accessing these options from the menu does the same thing. I don't know if it's just me...

    And file history, I don't know if it already exists, I searched the forum and the configuration files, but found nothing. Notepad++ had a nifty option that, when enabled, would remember the opened files from one session to the other. I often find myself working with 5-6 files at a time, then closing the editor and when I open it again the files would be opened too.

    Don't know if it's been discussed already but when a unsaved modified file is closed 'Escape', shouldn't it ask for Save/Cancel stuff? I know it asks at the end, when the app is closed.

    Thanks for your time, and thank you for releasing this nice editor :)
    Alex

     
    • Vlad Alex

      Vlad Alex - 2008-03-21

      Ups, forgot another thing.

      I opened a php file, which shows nicely with syntax highlighting and everything. I selected a function from there, made a new folder, the function was there but no more highlighting in the folder. Is there something to be done in the config file?

      Alex

       
    • Vlad Alex

      Vlad Alex - 2008-03-21

      I now saw that it fails to see the <? ?> which are outside the folder, and thus does not enable syntax highlighting for the folder. if I were to put //<? at the beginning of the folder, then it would work... but it's kinda' weird.

      Alex

       
      • Vlad Alex

        Vlad Alex - 2008-03-21

        Regardless of what I do with CB in PHP, I stumble upon a no-no. If I put <? ?> only in folders, it's ok.. the editor won't put it's html comments inside php brackets. But, that would mean I would have to use ob_start() in all my files and with different layers because the CB comments get outputted to the browser and when using multiple includes this becomes a problem, I get header already sent errors.

        Is there a way to modify the way CB inserts his internal comments into the file?
        I mean, instead of

            <?
            <!--[of]:function tMainPre($trans)-->
            function tMainPre($trans){
            }
            <!--[cf]-->
            ?>

        to put this

            <?
            /*<!--[of]:function tMainPre($trans)-->*/
            function tMainPre($trans){
            }
            /*<!--[cf]-->*/
            ?>

        or some other variation that PHP will consider a comment?

        Alex

         
        • Vlad Alex

          Vlad Alex - 2008-03-21

          Hei. Sorry for all these messages, I finally found what I was looking for with the php folding in the config file, and changed <!-- for #, gosh the editor is so customizable :) Thanks again! Only the first message in this thread about history and vertical/horizontal panes is still worth a look.

          Alex

           
    • Marc Kerbiquet

      Marc Kerbiquet - 2008-03-26

      Hi Alex,

      Horizontal panes means that they are arranged horizontally (left and right).

      Currently there is no session information saved, so the editor does not re-open previously edited files when restarting. I plan to save session information such as open windows, window geometry and so on but I have other features to implement before. As a work around you can create a kind of project file (.txt) that include links to common files and create a shortcut that open this file.

      On Closing Windows:
      Code Browser manages windows differently from most editors, there is a clear distinction between files and windows:
      * Files are loaded and unloaded
      * Windows are open and closed
      * There can be several windows open on the same file
      * There can be several files attached to a window: for instance, when following links, a file may not be visible but still in the navigation stack of a window.
      * Closing a window does not unload the file: you can reopen a window on it from the menu "File/Files...".

      Cheers,
      Marc

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.