Fork me on GitHub

About

This plugin replaces a (possibly zero-width) rectangular selection with integer numbers, using start/step/base etc. specified by the user. For practical reasons, the number of lines is limited to 100000. Lines shorter than the current selection are skipped.

Requirements

Geany 0.19 or later and the respective headers and development libraries.

Installation

Compiling and installing the code is done by the following three commands:

$ ./waf configure $ ./waf build $ ./waf install

For more configuration details run $ ./waf --help

If there are any errors during compilation, check your build environment.

Usage

Select a rectangle and choose Tools -> Insert Numbers.

Known issues

If you reload the current file while the plugin is running (after pressing OK), the insertion may fail. Use Edit -> Undo to fix the file if needed.

License

Insert Numbers is distributed under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. A copy of this license can be found in the file COPYING included with the source code of this program.

Ideas, questions, patches and bug reports

Dimitar Zhekov <dimitar.zhekov@gmail.com>