[Geany] Column mode editing
blackdog
blackdog at xxxxx
Sat Mar 15 22:27:17 UTC 2008
+1
On Sat, 15 Mar 2008 15:20:38 -0700
chuck <ctl at arrowtwins.com> wrote:
> Great.
> I have been using this patch for a long time without issues. In
> fact, I just used it yesterday to line up some code.
>
> was:
> //allocating the colors
> $white = imagecolorallocate($canvas, 255, 255, 255);
> $red = imagecolorallocate($canvas, 255, 0, 0);
> $black = imagecolorallocate($canvas, 0, 0, 0);
> $yellow = imagecolorallocate($canvas, 248, 255, 190);
> $blue = imagecolorallocate($canvas, 3, 12, 94);
> $grey = imagecolorallocate($canvas, 102, 102, 102);
>
> Added a new color...
> $lightGrey = imagecolorallocate($canvas, 216, 216, 216);
>
> Did the zero-width rectangle in front of the first 6 '=' signs, typed
> a few spaces until it all lined up like:
>
> //allocating the colors
> $white = imagecolorallocate($canvas, 255, 255, 255);
> $red = imagecolorallocate($canvas, 255, 0, 0);
> $black = imagecolorallocate($canvas, 0, 0, 0);
> $yellow = imagecolorallocate($canvas, 248, 255, 190);
> $blue = imagecolorallocate($canvas, 3, 12, 94);
> $grey = imagecolorallocate($canvas, 102, 102, 102);
> $lightGrey = imagecolorallocate($canvas, 216, 216, 216);
>
> I think folks that try it will find it quite handy.
>
> chuck
>
>
> Enrico Tröger wrote:
> > On Wed, 12 Mar 2008 10:12:26 +0100, Enrico Tröger
> > <enrico.troeger at uvena.de> wrote:
> >
> >> On Sun, 09 Mar 2008 14:07:00 -0700, chuck <ctl at arrowtwins.com>
> >> wrote:
> >>
> >>> Given a possibly stupid example of some code:
> >>>
> >>> [example usage]
> >> Ok, thanks for the good example. It's a bit funny, never seen this
> >> before ;-).
> >> If it doesn't break anything, we could add it even I personally
> >> probably won't use it ever. The only disadvantage is that it makes
> >> updating the embedded Scintilla sources a bit harder ;-(.
> >> Anyway, I won't work on the mentioned copy&paste problems.
> >>
> >> So, if nobody has any objections I'll commit this code.
> > Finally done.
> > If anyone notice any problems with this or strange editing
> > behaviour in general, please tell us.
> >
> > Thanks chuck.
> >
> > Regards,
> > Enrico
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Geany mailing list
> > Geany at uvena.de
> > http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
More information about the Users
mailing list