Menu

Inserting TAB in RKward

Help
Anonymous
2011-11-08
2013-01-15
  • Anonymous

    Anonymous - 2011-11-08

    Hi,

    Apologies for the straightforward question, but I can't find an answer in the documentation.

    How do insert a TAB character at the start of a line? The TAB key (and ctrl-I) insert 2 spaces rather than a tab when at the beginning of a line, but a TAB in the middle or at the end. Is there any way of making the TAB key behave like this at the start?

    Also, can I change the formatting view, so the tab identifier (>>) is more obvious?

    Thanks

     
  • Thomas Friedrichsmeier

    Hi,

    How do insert a TAB character at the start of a line? The TAB key (and ctrl-I) insert 2 spaces rather than a tab when at the beginning of a line, but a TAB in the middle or at the end. Is there any way of making the TAB key behave like this at the start?

    I agree the configuration options on this are pretty confusing. Do this: Open a script window, go to Settings->Configure Editor->Editing->Indentation. You will want to set your indentation mode to either "Tabulators" (recommended) or "Tabulators and Spaces". For the latter option, make sure that your setting for indentation width equals the tab width (e.g. set both to 8 characters).

    Also, can I change the formatting view, so the tab identifier (>>) is more obvious?

    In the configuration dialog, go to "Fonts & Colors". You can adjust the color of the "Tab and space markers", there.

    Regards
    Thomas

     
  • Anonymous

    Anonymous - 2011-11-11

    Hi, thanks for that- really helpful.
    :)