Feature Suggestions ⇒ Word Wrap
Word Wrap
(Winedt have a similar function. It call it soft wrapping).
excuse me for my bad english and
Complimenti per l'editor!!!
Nicola Lunghi
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Posts: 2
- Joined: Sat Feb 03, 2007 6:15 pm
Re: Word Wrap
I have a suggestion concerning soft wrap (the way I mean it). I suggest to preserve indentation when a line is wrapped. That is, assume that a line has an indentation of k spaces. Every time a screen line is full text should continues to be drawn in the following line (without introducing a forced new line character in the source), and the first word should start from column k+1 (rather than from column 1, as it is now). This would make indentation much more useful.
Let me remark that, to my knowledge, no LaTeX environment for windows has this feature (only Textpad has, but it is not a LaTeX IDE and it is not free). Instead, Kile has this feature, and I find it essential.
Do you think it would be complicated to implement this feature?
Thank you!
Regards,
Luca
Word Wrap
Commodore64 wrote: Let me remark that, to my knowledge, no LaTeX environment for windows has this feature (only Textpad has, but it is not a LaTeX IDE and it is not free). Instead, Kile has this feature, and I find it essential.
WinEdt also has this feature (combined with variable-width fonts).
Regards,
Sebastian
Word Wrap
Commodore64 wrote: If I'm not wrong, the feature you are asking is called hard wrap. In contrast, soft wrap is the TeXnicCenter mode, where text is wrapped without newline characters being inserted.
I support the feature request for making it possible to enable hard wrap. Hard wrap makes it easier to diff a .tex-file with, say, another revision of the same file. It also makes it easier in an environment where people use different editors.
Best regards,
Torgeir
Re: Word Wrap
remains the same even when viewed outside the
environment.
Hard word wrap is done very well in jEdit (free),
as well as in TeXlipse/Eclipse (free).
You just select a paragraph and press a key.
Moti
Re: Word Wrap
Whenever a document is edited by multiple users with different screen/font sizes, soft wrap ensures that is looks good on all font/screen sizes. With hard wrap, the line lengths are mostly too short or too long.
Since I have 3 computers in use at different locations, I only use soft-wrap.
Re: Word Wrap
I use TeXnicCenter. I agree with Sebi about soft-wrap.
However, it's almost impossible to write a table with TeXnicCenter whenever many lines of the table are wider than the editor window.

Suppose you have a line of the table splitted in several lines in the editor. Massive chaos!
For example, WinEdt does not wrap lines ending with \\. So, you can put all '&' of the table in the same column of the editor, and the table looks much tidier in the editor.
I'm looking forward to seeing this feature in TeXnicCenter! (or at least the possibility of temporarily turn off the word wrapping!)
Anyone knows a workaround ?
Thanks
bye
Matteo
Re: Word Wrap
It would be great!
Re: Word Wrap
Personally, I use (g)Vim on all my platforms. It gives me both soft and hard wrapping, depending on what I want, and it's the same interface everywhere. (Plus, it has great LaTeX support)
-
- Posts: 1
- Joined: Mon Sep 01, 2008 11:53 am
Re: Word Wrap
I have one more related suggestion - sometimes you have a hard-wrapped text, i.e. copied from another editor, and you would like to re-format it and soft-wrap it, i.e. remove end-of-line characters. Would it be possible to add something like a menu item for this? If I am not mistaken, WinEdt has something similar.