Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #30358
    Stefan
    Participant

    The “List of Bookmarks” show for me “Name” and “Line Numbers” only.

    How can I enable to see the actual text of the bookmarket lines?

    Like
    Name | Number | Line Content
    Test.js | 24 | Function one()
    Test.js | 47 | Function two()
    Test.js | 83 | Function three()

    Thanks

    #30360
    Yutaka Emura
    Keymaster

    Displaying the actual text can slow down EmEditor, especially when there are many bookmarks and the files are very large. For this reason, the actual text is not shown.

    #30361
    Stefan
    Participant

    Thanks.
    Since EmEditor is that fast, I don’t mind if it slows down in that matter.

    The benefit it much more important.

    How about showing the first, say 50 bookmarks in the “List of Bookmarks” only.

    And for the next 50 bookmarks show only limited amount of signs per line in the “List of Bookmarks”?
    It would even help if we can see only ~50-70 signs of each bookmarket line in the “List of Bookmarks”.

    Thanks for considering it.

    .

    #30363
    Patrick C
    Participant

    You could display them in the OutputBar.

    I’ve adapted a script of mine with respect to listing bookmarks:
    list_bookmarks_in_the_output_bar.jsee

    Example output:
    List of bookmarks

    Perhaps this helps.

    #30371
    Stefan
    Participant

    Thanks PC, it never occur to me we can use OutputBar in a script.

    sResult += Links[i] + Content[i] + “\n”;
    OutputBar.write(sResult);

    .

    Your script works wonderful and that it is what
    I had envisioned: show me all bookmarket lines below of the file.

    Now I can find the wanted line and click on it to jump to the right place in my file.

    Helps a lot while at coding to jump from a function to top of the file and back.
    And also while reading a large text for to jump between chapters.

     .

    Only mouse-over highlighting and the use of the arrow-keys is lacking.
    But clicking and pressing F10 works.

    A really helpful feature, I hope that will be a build-in feature in future.

     
    Thanks
    Stefan

    #30372
    Patrick C
    Participant

    I’m glad it helps and thank you for the feedback :)

    The other navigation option would be to use the outline bar with custom regex.
    But getting the regex right can be a pain and only the current document is displayed.
    Outline bar
    Outline configuration

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.