Giter VIP home page Giter VIP logo

Comments (3)

timhor avatar timhor commented on August 20, 2024 1

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.

timhor avatar timhor commented on August 20, 2024

To clarify, is this the issue you're facing?

  1. Cursor is within a list item
  2. Execute Move to start of current sentence
  3. Cursor is after the list symbol instead of at the start of the line

from obsidian-sentence-navigator.

danrthompson avatar danrthompson commented on August 20, 2024

@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:

  1. Let's say my cursor is at B. If I run Move to start of next sentence then the cursor is right before D
  2. Then if I run it again, the cursor is right before G. And again, then it's before J
  3. Let's say my cursor is before K. If I run Move to start of current sentence, then the cursor goes to before J
  4. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.