You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm I have restarted NotePlan and this problem still persists.
Is this a repeatable problem?
Describe the bug
When invoking the plugin and selecting a destination header that happens to end with whitespace, the selected paragraphs are cut but not moved to the destination note.
Cut paragraphs are lost.
What do you expect it to do instead?
With an error, plugin should default to "top of note" or simply do nothing.
To Reproduce
Steps to reproduce the behavior:
Create two headers, one with a space at the end, one without a trailing space.
action fails on the header with trailing whitespace, succeeds otherwise.
Screenshots
If applicable, add screenshots to help explain your problem.
System
Device: Mac, iPhone
OS: [e.g. iOS17.5.1, macOS 14.5]
NotePlan Version [e.g. 3.12.2]
Plugin Name & Version [e.g. "Filer" v1.1.5]
Additional context
Add any other context about the problem here.
Plugin Console Log
To provide us with more clues about where the bug/error is occurring...
Open the Plugin's Preferences by going to NotePlan's menu > Preferences > Plugins and clicking the settings "cog" icon next to the plugin in question. Scroll to the bottom and set the logging level to "DEBUG" and click "Save & Close"
Now open the Plugin Console by going to Noteplan > Help > Plugin Console (not the macOS Console app).
Run the plugin command you're reporting
Copy the output from the Plugin Console and paste it below
Delete any output that has personal information you don't want in there
Executingfunction'moveParas'2024-07-1008:23:37|DEBUG|jgclark.Filerv1.1.5 :: moveParas: movecurrentparaonly2024-07-1008:23:37|DEBUG|folders/filteredFolderList :: Startingtofilterthe31DataStore.folderswithinclusions[]exclusions[]2024-07-1008:23:44|DEBUG|userInput/chooseHeading :: Userpickedexistingheadingnumber4('test with withspace ')from11..2024-07-1008:23:44|DEBUG|jgclark.Filerv1.1.5 :: -Movingtonote'20240710'underheading: 'test with withspace '2024-07-1008:23:44|DEBUG|jgclark.Filerv1.1.5 :: ->Insertingatstartofsection'test with withspace 'Error: Couldn't find heading, this is case sensitive. Please check again.2024-07-10 08:23:44 | DEBUG | jgclark.Filer v1.1.5 :: - Removing 1 paras from original note (which had 59 paras)Executing function 'moveParas'2024-07-10 08:31:00 | DEBUG | jgclark.Filer v1.1.5 :: moveParas: move current para only2024-07-10 08:31:00 | DEBUG | folders / filteredFolderList :: Starting to filter the 31 DataStore.folders with inclusions [] exclusions []2024-07-10 08:31:04 | DEBUG | userInput / chooseHeading :: User picked existing heading number 3 ('testwithoutwhitespace') from 11 ..2024-07-10 08:31:04 | DEBUG | jgclark.Filer v1.1.5 :: - Moving to note '20240710' under heading: 'testwithoutwhitespace'2024-07-10 08:31:04 | DEBUG | jgclark.Filer v1.1.5 :: -> Inserting at start of section 'testwithoutwhitespace'
2024-07-10 08:31:04 | DEBUG | jgclark.Filer v1.1.5 :: - Removing 1 paras from original note (which had 69 paras)
The text was updated successfully, but these errors were encountered:
trmax
changed the title
move paragraph or selection fails on headers with trailing whitespace
Filer:move paragraph or selection fails on headers with trailing whitespace
Sep 5, 2024
Checks
Describe the bug
When invoking the plugin and selecting a destination header that happens to end with whitespace, the selected paragraphs are cut but not moved to the destination note.
Cut paragraphs are lost.
What do you expect it to do instead?
With an error, plugin should default to "top of note" or simply do nothing.
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
System
Additional context
Add any other context about the problem here.
Plugin Console Log
To provide us with more clues about where the bug/error is occurring...
NotePlan's menu > Preferences > Plugins
and clicking the settings "cog" icon next to the plugin in question. Scroll to the bottom and set the logging level to "DEBUG" and click "Save & Close"Noteplan > Help > Plugin Console
(not the macOS Console app).The text was updated successfully, but these errors were encountered: