-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Toggle checkbox - checkbox where added in wrong place when autocreated from list #210
Comments
Thank you for the fix! |
👍 But now the following is broken.. Start with:
Result with the change:
Result before the change:
🤔 Maybe it needs some more work 😃 |
Hello @sanderboom! |
Checkbox creation works for be, but it doesn't seem to select the correct amount of text anymore: It is done with |
I think it's another issue. It has been there before. Let's find if we understand ourselves correctly (I mark end of selection with
It returns (and returned):
Selection ends on first found white space. I've also checked on code before my changes ( I think it may be connected with this comment https://github.com/qownnotes/scripts/blob/master/toggle-checkbox/toggle-checkbox.qml#L158 (5yrs ago), but maybe @sanderboom has some more insights? |
Script name
Toggle checkbox
Script authors
@sanderboom @pbek
When providing list as in the example, with additional context added after
-
sigh it parses the list wrong.Example:
Expected behavior
Actual behavior
Steps to reproduce
Please use the script on provided example list.
Output from the debug section in the settings dialog
Not relevant.
Relevant log output in the Log panel
Not relevant.
The text was updated successfully, but these errors were encountered: