Giter VIP home page Giter VIP logo

gedit-toggle-text-wrapping's Introduction

Toggle Text Wrapping, a plugin for gedit

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.

Requirements

0.3.0 and higher requires gedit 3; gedit 2 users should use 0.2.0 by Christian Hartmann.

Installation

  1. Download the source code (as zip or tar.gz) and extract.
  2. 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 to toggletextwrapping.plugin.
    • For gedit 3.8 and later, copy toggletextwrapping.plugin.
  3. Restart gedit, select Edit > Preferences (or gedit > Preferences on Mac), and enable the plugin in the Plugins tab.

Usage

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.

Development

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.

Credits

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 :-)

License

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

gedit-toggle-text-wrapping's People

Contributors

jefferyto avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.