Am 2012-08-07 17:22, schrieb Martin:
On 07/08/2012 16:12, Jürgen Hestermann wrote:
I have struggled with this already multiple times but it strikes me again and 
again:

After installing a fresh Lazarus build (I think that's the cause) suddenly
Ctrl+I (indent block) moves the block by 2 columns instead of 1 (which I
configured long ago). That makes it impossible to correct odd to
even columns and vice versa.


http://imagebin.org/223650

This is what you should have (the 2 fields in red)

If it does not work, please send your EditorOptions.xml


This is set to 1 in my settings.
But it is also not selected (as I don't want TAB to indent blocks).
EditorOptions.xml is attached (but I did not find any item set to 2 in this 
file).
<?xml version="1.0"?>
<CONFIG>
  <EditorOptions Version="9">
    <Display RightMargin="120" VisibleGutter="False" ShowLineNumbers="False" DoNotWarnForFont="Courier New" VisibleRightMargin="False" DisableAntialiasing="True"/>
    <KeyMapping>
      <default Count="9">
        <Version Value="6"/>
        <Item1 Name="Add break point">
          <KeyA Key1="119" Shift1="1" Default="False"/>
        </Item1>
        <Item2 Name="Compile project/program">
          <KeyA Key1="120" Default="False"/>
        </Item2>
        <Item3 Name="Jump to next error">
          <KeyA Default="False"/>
        </Item3>
        <Item4 Name="Jump to previous error">
          <KeyA Default="False"/>
        </Item4>
        <Item5 Name="Redo">
          <KeyA Key1="8" Shift1="6" Default="False"/>
        </Item5>
        <Item6 Name="Run program">
          <KeyA Key1="120" Shift1="1" Default="False"/>
        </Item6>
        <Item7 Name="Toggle between Unit and Form">
          <KeyA Key1="121" Shift1="1" Default="False"/>
        </Item7>
        <Item8 Name="Toggle view Breakpoints">
          <KeyA Key1="119" Shift1="3" Default="False"/>
        </Item8>
        <Item9 Name="Undo">
          <KeyA Default="False" Key1="8" Shift1="4"/>
        </Item9>
      </default>
    </KeyMapping>
    <CodeTools CodeTemplateFileName="C:\Dokumente und Einstellungen\Jürgen\Lokale Einstellungen\Anwendungsdaten\lazarus\lazarus.dci" CompletionLongLineHintTypeCompletionLongLineHintType="sclpExtendRightOnly"/>
    <Color Version="9"/>
    <General>
      <Editor TabWidth="1" KeepCaretX="True" BlockIndent="1" ScrollPastEof="True" BlockTabIndent="1" OverwriteBlock="False" ScrollByOneLess="True" HalfPageScroll="False" PersistentBlock="True"/>
    </General>
    <Mouse>
      <Default Version="1"/>
    </Mouse>
  </EditorOptions>
</CONFIG>
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to