Op 2010-10-21 19:34, Martin het geskryf:
Well I didn't invent it, so I don't know it's original intend.
But tabs (or rather the tab key, producing a sequence of spaces) are not
only used for indent (as in indent at the start of line)
This brings me to my next question (see the fpc-devel
Op 2010-10-21 00:21, waldo kitty het geskryf:
just to toss my two cents into the ring... the above is not for me... i'm
very
old-school... begin and end get their own line in my world...
+1
I use Borland Delphi coding style. Always have, always will.
Regards,
- Graeme -
--
fpGUI
Since I did this, I find that switching back and forth from
Java/C#/Pascal/Javascript makes for quick code reading. Otherwise
it's way too difficult. I realize this is just my personal
preferences but I am also convinced after using this technique, most
would be using it as well.
I've
On Wed, Oct 20, 2010 at 07:59:48AM -0500, Andrew Brunner wrote:
?if Accept then
?begin
|
1 2 ? ?3 ? ?4 ? 5
Actually, I rarely break my If statements across more than one line
save to accommodate large logic statements for code readability.
if (condition1=condition2) or
Actually, I rarely break my If statements across more than one line
save to accommodate large logic statements for code readability.
if (condition1=condition2) or (conditionx=conditiony) then begin
// code here
end else begin
// more code here
end;
I never got used to having begin
Graeme Geldenhuys schrieb:
I have never seen code indented the way that smart tab algorithm works,
so what's the point of it then.
Look at C code...
DoDi
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
On 20/10/2010 14:12, Graeme Geldenhuys wrote:
Op 2010-10-20 14:52, Martin het geskryf:
I updated the help:
http://wiki.lazarus.freepascal.org/IDE_Window:_Editor_Options#Smart_tabs
Hope it is more understandable now.
if Accept then
begin
|
1 234 5
PS:
I have never seen code
Am 21.10.2010 15:10, schrieb A.J. Venter:
In C there seems to be two popular approaches, one putting the opening
{ on the same line (this seems to be by far more popular one in
languages like python) and the other putting it on it's own line as we
normally do with begin.
This is the GNU
Hi,
I've played with the latest snapshot of Lazarus and FPC (as release by
Vincent) for the last 3 days now.
I started with a new profile (via --pcp= parameter). Off the bat, one
*major* annoyance of Lazarus IDE now is that I seem to spend more time
trying to figure out how to disable all the
I have also concluded that the editor settings smart tabs should be
renamed to idiot/stupid tabs instead, because that is exactly what it does!
| symbol denotes cursor pos, and stupid tabs enabled, and auto indent
disabled and tab indentation set to 2, tabs set to spaces.
eg:
if Accept then
On 20/10/10 10:39, Graeme Geldenhuys wrote:
Hi,
I've played with the latest snapshot of Lazarus and FPC (as release by
Vincent) for the last 3 days now.
I started with a new profile (via --pcp= parameter). Off the bat, one
*major* annoyance of Lazarus IDE now is that I seem to spend more time
Op 2010-10-20 12:00, Henry Vermaak het geskryf:
Hmm, yes, same here.
Glad I'm not alone in this boat. I have been using the same profile for
years, so it wasn't much of a problem, but starting with a new profile, I
had to start fiddling with all the various editor settings (which I
normally
On Wed, Oct 20, 2010 at 20:39, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:
I started with a new profile (via --pcp= parameter). Off the bat, one
*major* annoyance of Lazarus IDE now is that I seem to spend more time
trying to figure out how to disable all the damn I'm trying to be clever
On 20/10/2010 10:39, Graeme Geldenhuys wrote:
Hi,
I've played with the latest snapshot of Lazarus and FPC (as release by
Vincent) for the last 3 days now.
I started with a new profile (via --pcp= parameter). Off the bat, one
*major* annoyance of Lazarus IDE now is that I seem to spend more
Op 2010-10-20 14:40, Martin het geskryf:
the new one:
Codetools - general
overrides the above, if switched on, and does the mind of it's own
auto indent
Ah, finaly I killed the indent on paste feature too. It always got it wrong.
yeah, I know: who is expecting it to be in the
Actually, I am often pleased when I copy/cut and past a block of text
from one area to another only to find that the Editor knew what I was
trying to do. I've left all the defaults the same. But I install
Ubuntu often. One suggestion may be to delete your Lazarus profile
information in your
On 20/10/2010 10:49, Graeme Geldenhuys wrote:
I have also concluded that the editor settings smart tabs should be
renamed to idiot/stupid tabs instead, because that is exactly what it does!
| symbol denotes cursor pos, and stupid tabs enabled, and auto indent
disabled and tab indentation set
if Accept then
begin
|
1 2 3 4 5
Actually, I rarely break my If statements across more than one line
save to accommodate large logic statements for code readability.
if (condition1=condition2) or (conditionx=conditiony) then begin
// code here
end else begin
// more code here
Op 2010-10-20 14:51, Andrew Brunner het geskryf:
Ubuntu often. One suggestion may be to delete your Lazarus profile
information in your home directory. This will reset everything to the
latest and greatest as defaults and ensure that any settings you
change will actually be respected...
Op 2010-10-20 14:52, Martin het geskryf:
I updated the help:
http://wiki.lazarus.freepascal.org/IDE_Window:_Editor_Options#Smart_tabs
Hope it is more understandable now.
if Accept then
begin
|
1 234 5
1 begin of line
2 first word begin
3 end of line
4 next word,
Op 2010-10-20 15:11, Andrew Brunner het geskryf:
Hmm... When using lazarus from /trunk you should be more open to
discussing/resolving/reporting issues with respect to leaps in
features such as smart space/tabs.
Do a Mantis search, I think I report more than enough bugs already.
The purpose
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com:
I have also concluded that the editor settings smart tabs should be
renamed to idiot/stupid tabs instead, because that is exactly what it does!
| symbol denotes cursor pos, and stupid tabs enabled, and auto indent
disabled and tab
On 20/10/2010 14:28, Mattias Gärtner wrote:
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com:
I have also concluded that the editor settings smart tabs should be
renamed to idiot/stupid tabs instead, because that is exactly what
it does!
| symbol denotes cursor pos, and stupid tabs
2010/10/20 Graeme Geldenhuys graemeg.li...@gmail.com:
Op 2010-10-20 15:11, Andrew Brunner het geskryf:
Hmm... When using lazarus from /trunk you should be more open to
discussing/resolving/reporting issues with respect to leaps in
features such as smart space/tabs.
Do a Mantis search, I
And yes that page automatic features is another place, where no one
ever would expect anything (half of it is display related, and
should be on a page nested into display) = for the rest: a good name is
needed (maybe the hints can even get there own page...)
At least all those
Zitat von Martin laza...@mfriebe.de:
On 20/10/2010 10:39, Graeme Geldenhuys wrote:
Hi,
I've played with the latest snapshot of Lazarus and FPC (as release by
Vincent) for the last 3 days now.
I started with a new profile (via --pcp= parameter). Off the bat, one
*major* annoyance of Lazarus
Op 2010-10-20 15:28, Mattias Gärtner het geskryf:
Have you seen the link on the editor options to the codetools option?
Yes, but that seems wrong. Why two tools to do indentation, and if both
enabled gives undefined behaviour. It should always be one or the other,
and preferably on the same
Op 2010-10-20 15:49, Mattias Gärtner het geskryf:
Yes. OTOH codetools are only for pascal. If we move the codetools
options to the editor options, it must be made clear that these are
only for pascal.
I didn't know that, but I see your point.
I'm not sure how to do that in an
Zitat von Andrew Brunner andrew.t.brun...@gmail.com:
[...]
But I do agree that this is frustrating. I remember when Lazarus used
to crash when laying out my forms with tons of components only to be
missing them when I reopen the editor. I also recall a time when
Delphi did the very same
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com:
Op 2010-10-20 15:28, Mattias Gärtner het geskryf:
Have you seen the link on the editor options to the codetools option?
Yes, but that seems wrong. Why two tools to do indentation, and if both
enabled gives undefined behaviour. It should
On 20/10/2010 14:49, Mattias Gärtner wrote:
Yes. OTOH codetools are only for pascal. If we move the codetools
options to the editor options, it must be made clear that these are
only for pascal.
I'm not sure how to do that in an intuitive way.
I still think they need a more prominent
On 10/20/2010 08:59, Andrew Brunner wrote:
if Accept then
begin
|
1 234 5
Actually, I rarely break my If statements across more than one line
save to accommodate large logic statements for code readability.
if (condition1=condition2) or (conditionx=conditiony) then begin
//
On 10/20/2010 09:12, Graeme Geldenhuys wrote:
Op 2010-10-20 14:52, Martin het geskryf:
I updated the help:
http://wiki.lazarus.freepascal.org/IDE_Window:_Editor_Options#Smart_tabs
Hope it is more understandable now.
if Accept then
begin
|
1 234 5
1 begin of line
2 first
33 matches
Mail list logo