[gedit-list] Plugin to align blocks of text



Hello list,

I wrote a Gedit plugin to align the selected block of text into columns.
The plugin is available at
http://users.tkk.fi/~otsaloma/gedit

The plugin presents the user with a dialog where the separator can be
specified. The separator can contain leading and trailing spaces, which
are not required to exist yet, but will be added. For example aligning
the following according to ", "

        a,b,c
        alfa,beta,gamma

would produce

        a   , b   , c
        alfa, beta, gamma
        
Initial indentation is preserved and no trailing space is added. Lines
that do not contain the separator are skipped.

-- 
Osmo Salomaa <otsaloma cc hut fi>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]