2014-07-02 23 views
0

跟着a nice advice,我能夠在TextMate 1.5中創建一個「去第一個非空白字符」的宏。如何在TextMate 1.5中「選擇回第一個非空白字符」?

現在我想進一步改進它,爲了「從當前點開始選擇回到第一個非空白字符」,即在這一行中,如果光標恰好在這裏的「§」之後,它會選擇:Now I'd like to improve it further, in order to "select back from current point up until the first non-whitespace character", i.e. in this line if the cursor was just after the "§

該建議中使用的技巧在這裏沒有幫助,因爲一旦您搜索第一個非空白字符,就會失去選擇。任何線索?

回答

相關問題