#43 ✓resolved

Feature: Indent / Dedent

Reported by zachriggle | December 24th, 2010 @ 06:43 AM | in 0.0.3

What I did

Select a block of text, and press tab or shift+tab.


Select a block of text, and press ⌘+] (indent) or ⌘+[ (dedent).

What I expected to happen

The indentation level of the selected text should increase by one, respecting the tabs vs. spaces setting of the IDE. Opposite for dedent.

What actually happened


Comments and changes to this ticket

  • rsms

    rsms December 26th, 2010 @ 07:59 PM

    • Milestone set to 0.0.3
    • State changed from “new” to “open”
    • Assigned user set to “rsms”
    • Tag set to @todo, indentation
    • Milestone order changed from “25” to “0”

    Thanks. This is a todo.

    ⌘+] (indent) or ⌘+[ (dedent) is the current de-facto "standard" and will be the default key mapping in Kod.

  • rsms

    rsms December 26th, 2010 @ 07:59 PM

    • Tag changed from @todo, indentation to @high, @todo, indentation
  • rsms

    rsms December 26th, 2010 @ 11:59 PM

    @Swizec: Yeah, that would be nice. The more I think about it, the more I realize that we need to re-write the whole syntax parsing machinery. We can't use any source code from source-highlight nor modify it to fit our needs (it's released under a GPL aka "virus" license). I believe it's too basic for what we need to accomplish these things.

  • Erik Johansson

    Erik Johansson December 28th, 2010 @ 02:29 PM

    There has to be a setting in preferences later on, so you can change how many spaces the tab should be.

  • rsms

    rsms December 31st, 2010 @ 03:00 AM

    • State changed from “open” to “resolved”
    • Tag changed from @high, @todo, indentation to @high, @todo, indentation, text

    Fixed in c44b7796c1c7cb82b28866bfa7ba835d9aca132b

  • znn.yyy

    znn.yyy May 28th, 2022 @ 11:10 AM

    pg slot โอนผ่าน scb รับโบนัสเพิ่ม สะสมเกมเด็ดๆที่มีผู้เข้ามาเล่นจำนวนไม่น้อยต่างยกนิ้วให้ว่าเป็นตัวทำเงินชั้นเยี่ยม ผู้ให้บริการอันดับ 1 ในไทย pgslot สมัครฟรี โบนัสเพี๊ยบ!!

  • fafa

    fafa May 29th, 2022 @ 06:42 AM

    vfddgerlkgjksdmf;lrrgrw 0055gfdblkfdkhngjik56569fdcgd/,gklkdfjg] xc00sg65s84gsdgwsebfgd

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A text editor for Mac OS X

People watching this ticket

Referenced by