[Lazarus] clarification / Re: constant-highlight ? [Re: quick opinion poll / pascal highlighting "case"]

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Jun 3 08:33:14 CEST 2010


2010/6/2 Vannus <vannus at gmail.com>:
> the biggest problem would be the files remaining readable in good ol' text
> editor

It will be. Simply alignment (I'm not talking about indentation) might
not be ideal. ET only adds one or two tab chacters - this will not
break any editor.

>. i guess if the tabs were replaced by spaces when saved, and then
> those spaces interpreted as tabs when files were opened we could 'bridge the
> gap'.

The ET plugin for gEdit can do this as well. But this is inherently
problematic if the code is shared with other developers, so I would
not recommend this. When gEdit (with Tab > Spaces conversion enabled)
saves a file, it converts what you see, as closely as possible using
spaces. If your ET indentation was set to 100px width, it will
obviously not look nice for somebody that use 2 spaces indentation (2
spaces <> 100 pixel width).


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/




More information about the Lazarus mailing list