I find it very common that when I cut and paste a selection from a browser into a text file, I think have to "join" the lines to get rid of extraneous line feeds at the end of a paragraph (series) of lines.
I see in Sublime there is a "Join Lines" function as described here:
https://forum.sublimetext.com/t/removin ... line/14229
https://forum.sublimetext.com/t/how-to- ... lime/65994
and similar in VSCode - https://stackoverflow.com/questions/464 ... -two-lines
Can I ask how you guys "join lines" here in Cudatext?
I see there is a "Line Operations' menu under "Edit,' but "joining" is not included, and in my searches so far I have found very few occurrences of "join" in the command pallet or wiki.
i was also working to get this done by a search/replace function, but for some reason when I toggle the "unprintable characters" or hit the paragraph icon on the toolbar, I am not seeing any characters appear at the end of my lines, so I can't figure out what to search for and replace.
Thanks in advance!
Joining Lines
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Joining Lines
1. join lines - it is a command in the CudaExt plugin.
first, install the CudaExt.
in the command palette it is: "plugin: CudaExt: Align: Join lines".
2.
this dialog is the UI method to configure the option "unprinted_content" in user.json.
does it help?
first, install the CudaExt.
in the command palette it is: "plugin: CudaExt: Align: Join lines".
2.
dialog "Options / Unprinted chars" allows to customize this.> I am not seeing any characters appear at the end of my lines, so I can't figure out what to search for and replace.
this dialog is the UI method to configure the option "unprinted_content" in user.json.
does it help?
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Joining Lines
Now I added info about 'join lines' to
https://wiki.freepascal.org/CudaText_VS_other_editors
https://wiki.freepascal.org/CudaText_VS_other_editors
-
- Posts: 14
- Joined: 11.07.2024 11:51
Re: Joining Lines
Thank you again! I am sorry I missed the "CudaExt" plugin. I am still reading the wiki etc and missed that so far.
As to the unprinted characters, I had seen that option box and played with the settings, but nothing I do seems to show any characters or arrows or paragraph signs at the end of the lines.
Am i setting the options wrong?
(I am using Arch linux in XFCE)
Thanks
As to the unprinted characters, I had seen that option box and played with the settings, but nothing I do seems to show any characters or arrows or paragraph signs at the end of the lines.
Am i setting the options wrong?
(I am using Arch linux in XFCE)
Thanks
Last edited by freecicero on 12.07.2024 13:51, edited 1 time in total.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Joining Lines
settings looks like OK. so maybe the theme (UI) has poor colors here?
1. try the same on 'default' theme
2. tell me the name of your UI theme (from addons manager, I guess)
1. try the same on 'default' theme
2. tell me the name of your UI theme (from addons manager, I guess)
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Joining Lines
you have theme 'Atom One dark'. and yes, it has poor color for unprinted-chars! I will fix the theme and update it in addons-manager in 30 mins.
-
- Posts: 2245
- Joined: 25.08.2021 18:15
Re: Joining Lines
done; pls update the theme via "Plugins / Addons Manager / Update".
-
- Posts: 14
- Joined: 11.07.2024 11:51
Re: Joining Lines
I should have thought about the themes --- yes that fixed things instantly!
You are incredible - thank you!
You are incredible - thank you!