-
Notifications
You must be signed in to change notification settings - Fork 351
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
Feature Request: Please Add Edit/Wrap Paragraph Command #1483
Comments
Already asked, but not as an issue per se. I strongly support this feature! |
this begs to be solved by script ... so if someone wants to step forward ... |
|
Please add the opposite (un-paragraph) as well ;-) |
you can put a pull-request to texstudio-macro which allows "easy" download for all users |
Isn't that just Idefix / Hard Line Break? |
indeed. |
It chooses the paragraph or something. Without smart scoping, it only wraps the selected text or, if nothing is selected, the entire document |
BTW, isn't the purpose of the TXS-macro "Format TeX source" that may be found in Macros→Edit Macros...→Browse→automatedTextmanipulation→formatTeXsource.txsMacro? Its description is: Formats TeX source code by applying proper indentation, compressing multiple whitespace characters into one, etc. |
IMO, it is a really useful feature and should be directly available in TXS, not as macro. |
the wrapping is already in txs, only nobody is aware of it. That is a reason why I am hesitant simply to add more and more specialized functions, especially if the result is a matter of personal taste, here "proper indentation" |
It totally is. I didn't know that command existed and apparently I'm not the only one. It's a shame about the mandatory click-through dialog, but it does do exactly this. |
@foreachthing, I updated the script to toggle between wrap/unwrap. |
That is what Repeat Hard Line Break is for |
Thanks, good to know. Personally, everything about how this was implemented is confusing. But it's available out of the box, no question. |
@JonathanBrockhausen, this is AWESOME! 😀 Thank you so much!! |
Describe the feature and the current behavior/state
This is a command commonly found in text editors, including vim/emacs/sublime:
Sometimes called "Wrap Paragraph", or sometimes "Fill Paragraph".
It takes a selection and breaks the text into lines at word boundaries, so
that lines do not exceed N characters (often N=80 for historical reasons
predating wide screens).
Who will benefit with this feature?
Those of us used to it from using other editors. :)
The text was updated successfully, but these errors were encountered: