Boostnote: Jump to correct section under the cursor

Created on 4 Apr 2017  路  8Comments  路  Source: BoostIO/Boostnote

Boostnote Version: 0.8.7
OS: OSX El Capital
UI Font: Menlo

Would be a great convenience and enhancement to jump to the exact section under the mouse cursor in when toggling 'Preview' and editor.

Example:
I'm editing my document on line 395, right click on this line to switch to 'Preview' and now I should be able to preview the exact section I was editing.
Same in reverse: When in Preview mode, right click on any text should jump directly to that text inside the markdown document.
Currently I have to scroll through the document to find the section I was working on.

feature request help wanted

Most helpful comment

Yes, for me this is a major issue. You edit something and then in preview you are shown something else as the cursor is not in the same place.

All 8 comments

Thank you for your suggestion! I think this idea is great, but since the priority is low, so
would that be possible send us PR?

Yes, for me this is a major issue. You edit something and then in preview you are shown something else as the cursor is not in the same place.

@ChristianClassen Any plans to work on this issue? If not, I'd be happy to investigate it 馃槃

I understand that with Boostnote in active development there is much to do, but I frequently need to work switching between 'edit' and 'preview' modes (e.g. when reading / proofing / editing long documents) and parallel edit/preview panes are not appropriate.

As noted above, when you click to edit a line in preview mode Boostnote switches to editor mode but the cursor position is not updated. It remains in the position it was previously at in editor mode. This is very frustrating and requires endless jumping or scrolling to locate the correct line for editing.

The way this works in other markdown apps (e.g. Typora) is preferable: the cursor position is always mirrored in each mode.

I love Boostnote (now using it for almost all my writing needs) and am grateful for all the work that has/is going in to it! Thanks.


Boostnote Ver.: 0.11.5
OS: Linux MInt 18.3 Cinnamon 64-bit

@kazup01 cancelled funding, $40, of this issue. Visit this issue on Issuehunt

Boostnote is amazing! From a users perspective though, i would say this is more than a minor issue, because it troubles using boostnote as a reader of its own documents.

Here's one of many examples: consider that, whenever i'm in reading/preview mode, reading any previous document I wrote, i want to make minor syntax corrections and other amendments as I go along reading. Consider the user experience of doing that when the cursor jumps back to the top of the page or last edit location on every mode switch. What do you think I'm thinking the 20th time that happens ;-)

Heres another example: often, unintentionally, i click the mouse on the main pane in boostnote when in preview mode. One reason I might do this, is because, on the web, if i'm reading something, i can highlight the part of text i'm reading with the mouse to help me concentrate on it. So its muscle memory, and, for me, it means "i need to concentrate on this particular line now". I think its a fairly common tick, sometimes to click rather than highlight when doing that. But in boost note, the opposite of concentration happens, the cursor jumps to the top of the file / last edit location and i get taken to edit mode. And the way out of edit mode and back to where i wanted to concentrate is not to simply click again: i have to click at the top of the pane then scroll back down to where i was. If there was a one-click way of getting back to where i was, it wouldn't be so much of a problem

thanks @ZeroX-DG! Nice work!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

necan picture necan  路  3Comments

Ocanamat picture Ocanamat  路  3Comments

NonlinearFruit picture NonlinearFruit  路  3Comments

louiealmeda picture louiealmeda  路  3Comments

croulibri picture croulibri  路  3Comments