Quickly toggle text wrapping from the View menu or Toolbar
https://github.com/jefferyto/gedit-toggle-text-wrapping
0.3.2
All bug reports, feature requests and miscellaneous comments are welcome at the project issue tracker.
0.3.0 and higher requires gedit 3; gedit 2 users should use 0.2.0 by Christian Hartmann.
- Download the source code (as zip or tar.gz) and extract.
- Copy the
toggletextwrapping
folder and the appropriate.plugin
file into~/.local/share/gedit/plugins
(create if it does not exist):- For gedit 3.6 and earlier, copy
toggletextwrapping.plugin.python2
and rename totoggletextwrapping.plugin
. - For gedit 3.8 and later, copy
toggletextwrapping.plugin
.
- For gedit 3.6 and earlier, copy
- Restart gedit, select Edit > Preferences (or gedit > Preferences on Mac), and enable the plugin in the Plugins tab.
To toggle text wrapping for the current document, either:
- Select View > Enable Text Wrapping;
- Click the checkmark button in the Toolbar; or
- Use the Ctrl+Shift+B keyboard shortcut.
Note that this only affects the current (active) document; text wrapping for documents in other tabs and/or windows will be unaffected, and the global text wrapping preferences will remain unchanged.
The code in toggletextwrapping/utils
comes from python-gtk-utils;
changes should ideally be contributed to that project, then pulled back
into this one with git subtree pull
.
Christian Hartmann:
Parts of this plugin are based on the work of Mike Doty [email protected]
who wrote the infamous SplitView plugin. The rest is inspired from the Python
Plugin Howto document and the Python-GTK documentation.
Francisco Franchetti:
This plugin was developed for gedit 2 by Christian Hartmann at [email protected].
Jeffery To:
Based on the work by Christian Hartmann and Francisco Franchetti :-)
Copyright © 2008-2009 Christian Hartmann [email protected]
Copyright © 2011 Francisco Franchetti [email protected]
Copyright © 2013 Jeffery To [email protected]
Available under GNU General Public License version 3