Recent

Author Topic: Tabs to 5 spaces despite options set at 2  (Read 6834 times)

99Percent

  • Full Member
  • ***
  • Posts: 160
Tabs to 5 spaces despite options set at 2
« on: July 04, 2010, 04:28:16 am »
when I type a new "begin"<cr><tab> it will tab to 5 spaces despite setting it to two spaces in the editor options. What am I missing?

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4468
  • I like bugs.
Re: Tabs to 5 spaces despite options set at 2
« Reply #1 on: July 04, 2010, 09:22:38 am »
when I type a new "begin"<cr><tab> it will tab to 5 spaces despite setting it to two spaces in the editor options. What am I missing?

I think this is one of the things already fixed in trunk version. Please test with it.

http://wiki.lazarus.freepascal.org/Getting_Lazarus#Getting_Lazarus_SVN_development_version
or
http://wiki.lazarus.freepascal.org/Lazarus_Snapshots_Downloads

Juha
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Batuhan

  • New Member
  • *
  • Posts: 14
Re: Tabs to 5 spaces despite options set at 2
« Reply #2 on: July 04, 2010, 10:21:21 am »
or switch off "smart tabs" checkbox

99Percent

  • Full Member
  • ***
  • Posts: 160
Re: Tabs to 5 spaces despite options set at 2
« Reply #3 on: July 08, 2010, 01:40:31 am »
or switch off "smart tabs" checkbox
That did it. I suggest a bit more documentation on this feature.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9869
  • Debugger - SynEdit - and more
    • wiki
Re: Tabs to 5 spaces despite options set at 2
« Reply #4 on: July 08, 2010, 02:50:11 am »
Agreed there is little => buyt if you press F1 on this option-page, it should take you here:
http://wiki.lazarus.freepascal.org/IDE_Window:_Editor_Options#Smart_tabs

It's a wiki, and you can edit it.


JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Tabs to 5 spaces despite options set at 2
« Reply #5 on: July 20, 2010, 10:16:09 am »
or switch off "smart tabs" checkbox
That did it. I suggest a bit more documentation on this feature.

I had this problem too. Thanks for the tip.
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

 

TinyPortal © 2005-2018