Fork me on GitHub


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.


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


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


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.


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

Docs for previous versions