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 250000. Lines shorter than the current selection are skipped.

Requirements

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

Installation

This plugin is part of the geany-plugins project. See the README file of that package.

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>

Docs for previous versions