Created
June 4, 2011 13:00
-
-
Save StanAngeloff/1007882 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return array( | |
'item1' => 'value1', | |
'item1000' => 'value1000', | |
'item2'<|> | |
); | |
// <|> is the caret position | |
// TAB is pressed at caret position, wanted behaviour below |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return array( | |
'item1' => 'value1', | |
'item1000' => 'value1000', | |
'item2' <|> | |
); | |
// <|> is the caret position | |
// 4 spaces were inserted; behaviour is: move caret while column above isn't a SPACE; | |
// once SPACE found, move caret until column above is a SPACE; | |
// once NON-SPACE character reached on column above, stop. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment