boltex / leojs

Leo Literate Editor with Outline in Typescript
MIT License
24 stars 0 forks source link

Where Is The Nav Pane? #85

Closed tbpassin closed 6 months ago

tbpassin commented 6 months ago

I thought I remembered that leoInteg had a working Nav tab, but I can't find it in leoJS. I use the Nav tab for almost all my searches, so this is important to me.

LeoJS 0.2.5, master branch, build 2f8dca6
2023-12-16 23:36:29 -0500
Node.js v18.15.0, VSCode version 1.85.0
Windows 10 Home x64 (build 10.0.19045)
      home: C:\Users\tom
leo-editor: C:\Users\tom\.vscode\extensions\boltex.leojs-0.2.5
boltex commented 6 months ago

@tbpassin The nav pane controls are right there at the top of the find pane 😄 You can even use it to search for 'tag' !

(Thanks for this issue, I noticed a typo in the tooltip of some fields in the nav pane controls of the find panel )

image

It works exactly like in Leo, (searches as you type, enter to 'freeze' and get detailed results, clear to unfreeze, etc...) but it shows its results in the 'GOTO' pane, what will open automatically upon finding results to show. You can even navigate the results in the Goto pane with the cursor keys! (up / down, etc) and LeoJS will 'jump ' from one result to the next to show it to you in the outline+body

image

tbpassin commented 6 months ago

It's not quite the same as the Nav pane. You have a kind of combination of Leo's Find and Nav panes. However, your search results are better/more readable than for Leo's Find pane. I'll need to play with them more to see if they are close enough to make me happy.