Comments (3)
Thanks for the extra context! That's actually an easy fix; I've included it in the latest release, v1.3.0.
from obsidian-sentence-navigator.
To clarify, is this the issue you're facing?
- Cursor is within a list item
- Execute
Move to start of current sentence
- Cursor is after the list symbol instead of at the start of the line
from obsidian-sentence-navigator.
@timhor I apologize for not responding earlier. I didn't see this comment for whatever reason.
So basically, yes, but that isn't a problem on the first execution of that command. That seems like a pretty reasonable response.
The issue is that let's say I have a bullet list as follows:
- ABC. DEF
- GHI. JKL
So, first, let me describe all of the reasonable behavior of the plugin:
- Let's say my cursor is at B. If I run
Move to start of next sentence
then the cursor is right before D - Then if I run it again, the cursor is right before G. And again, then it's before J
- Let's say my cursor is before K. If I run
Move to start of current sentence
, then the cursor goes to before J - If I run it again, it is before G
Now, here is the issue:
If I run Move to start of current sentence
again, with the cursor before G, it stays there. If I run it 10 times, it will always stay in that position. It will never go to the previous bullet item.
This is because of the functionality of the Outliner plugin. Without the outliner plugin, if I run Move to start of current sentence
when my cursor is before I, it will go to the beginning of the line, before the -
. Then if you run it again, it would go to before D. But, with the Outliner plugin running, when the cursor gets sent to before the -
, it moves it forward 2 characters, to right before the G. Then the next time you run it, it tries to go right before the -
again, and is just bumped right back to before the G. So the desired functionality does not work.
Normally, I wouldn't create an issue for functionality that is broken by another plugin because it is not your responsibility. But the Outliner plugin is extremely widely used, so I thought I'd bring this issue to your attention just in case you're open to trying to solve it. I totally understand if you don't want to take the time, though.
If you do, you can easily replicate this issue by simply installing that plugin, creating a bullet list, then trying to go backward. You'll see the issue.
Let me know if there is any additional info or help that I can provide :)
from obsidian-sentence-navigator.
Related Issues (10)
- idiot question HOT 4
- Bug? "Move to next sentence" cannot move past a "tab" character
- feat req: Select to end/start of paragraph
- Question: Could there also be a Word Navigator? HOT 7
- Move to next sentence HOT 1
- I changed regex in the file constant.ts, so how to avoid this plugin's update overlays my change? HOT 2
- I find myself wanting "Select to end of sentence" HOT 4
- A few suggestions HOT 9
- Issues with "select current sentence" feature HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-sentence-navigator.