Nondocument word-wrap

22 views
Skip to first unread message

Derek Frost

unread,
Nov 5, 2016, 4:59:17 AM11/5/16
to VDE_Editor
I'm sure this is a silly question, so I'll make it quick.  I know how to use /d to get wrapping, but is there a way to 'force' wrapping on a non-document?  For example I write my letters in xml to export using xslt - it's to get foreign accents.  Well I suppose I should use Open Office but I prefer a non-graphic environment, but most text editors scroll my paragraphs off-screen.

What I would really like is something like nano which forces all the text on screen but does not break the lines - my accent codes are verbose so this gives lines which are too short in the output.

I don't care if it's not pretty - I don't care if the words break in half..

Many thanks.

Adolfo Di Mare

unread,
Nov 5, 2016, 8:36:36 AM11/5/16
to vde_e...@googlegroups.com

> ... but most text editors scroll my paragraphs off-screen ...

I'm loyal to VDE but for work I use Notepad++ which is a WinX editor: it's got box editing an word wrap.

My son has used Editplus which is multi platform.

dmccunney

unread,
Nov 5, 2016, 11:02:11 AM11/5/16
to VDE_Editor
On Sat, Nov 5, 2016 at 4:59 AM, Derek Frost <derek...@gmail.com> wrote:
> What I would really like is something like nano which forces all the text on
> screen but does not break the lines - my accent codes are verbose so this
> gives lines which are too short in the output.

If what you want is something like nano, you should probably *use*
nano. Another editor that behaves like that is vi/vim, which has a
wrap margin setting that determines where lines will wrap on screen.
But this specifically affects *screen* display and how the editor
presents the lines. No line break characters are inserted in the text
and the text will not wrap to fit the page if printed.

VDE is a word processor, with the underlying assumption the text will
be printed and does need to be properly wrapped on a page. There's a
non-document mode that will let you edit things like program code, but
you lose on-screen wrapping when you use it.

You didn't specify the system you use for this, but since you mention
Open Office I assume you do have a graphic environment available.
There are various console mode editors out there. If you're on
Windows, there are ports of nano, vim is available in a console
version, and emacs can be run in a console window.

A possible workaround for VDE might be fiddling with the screen
attributes. VDE defaults to an 80x25 display, but the Alt-E command
offers others. Setting VDE to a 80x50 VGA display will permit longer
on-screen lines. You can also set the terminal window to a wider
default in Properties, and use something like a 132x50 screen size.
______
Dennis
https://plus.google.com/u/0/105128793974319004519

dmccunney

unread,
Nov 5, 2016, 4:28:25 PM11/5/16
to VDE_Editor
On Sat, Nov 5, 2016 at 8:36 AM, Adolfo Di Mare <adolfo...@gmail.com> wrote:
>> ... but most text editors scroll my paragraphs off-screen ...
>
> I'm loyal to VDE but for work I use Notepad++ which is a WinX editor: it's
> got box editing an word wrap.

Notepad++ is an editor based on Neil Hodgson's Scintilla edit control
which supports syntax highlighting and code folding.. Notepad++ is
Windows specific, but Scintilla has been ported to other things and an
assortment of editors are based on it. Under Windows, I normally use
Notepad2-mod, a fork of Florian Ballmer's Notepad2 which is based on
Scintilla. Under Linux, there's a port of the Scite editor which was
originally intended as a Scintilla demo but has become a full fledged
editor with custom variants for specific kinds of coding. Under
Linux, I like the Geany lightweight IDE, also based on Scintilla.
Geany is available for Windows as well.

> My son has used Editplus which is multi platform.

I've looked at it. It's not what I use, but is a worthy product.
______
Dennis
https://plus.google.com/u/0/105128793974319004519

Eric Meyer

unread,
Nov 6, 2016, 2:39:24 PM11/6/16
to vde_e...@googlegroups.com
Derek,

Use /T mode. It will wrap on screen, but save a file with returns only at the
end of "paragraphs", or long lines.

-- Eric.
> --
> ---Get VDE and related files at http://sites.google.com/site/vdeeditor/
> ---
> You received this message because you are subscribed to the Google
> Groups "VDE_Editor" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to vde_editor+...@googlegroups.com
> <mailto:vde_editor+...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages