Code editor - Adding empty row lazarus / 11-Options ---------------------------------------------------------------------- User137 · 2010-12-22 17:41 When i press return to move codeline down it indents little to right. This forces me to also move the code back to proper indentation (2 spaces always) and in time when you have to do this again and again it gets frustrating. Code: [Select]  end else if n='imgTile' then begin     playState:=psTile;     ^ <- caret just before 'p', or at the beginning of linePress return causes: Code: [Select]  end else if n='imgTile' then begin       playState:=psTile;It should simply move the line down with same indentation it was before and i'd be satisfied. ---------------------------------------------------------------------- Martin_fr · 2010-12-23 17:58 You have several options: - in enviroment / options / editor / general: disable "auto indent"   and in codetools general (0.9.29) is indentation too. But they are both either always or never - you can place the caret at the leftmost pos (pos 1) of the lower line, before pressing return, then it moves the line down without indent. But you need to move back up - You can insert a new line with ctrl-n, then no indent happens, but the caret stays where it is. ---------------------------------------------------------------------- User137 · 2010-12-27 00:41 Not exactly sure but its not happening with all code. I disabled "Context sensitive" from indent options though in hopes that it fixes something. I'm suspecting it did some guessing based on other code in the file... Anyway i haven't had the issue bother me at all today.