You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
In Sublime's implementation of multiple cursors, if you haven't selected any text and the text cursor is within/adjacent to a word (ie. you clicked the middle of the word), it will select the full word for you. Brackets does this, but Sublime will go into a "full word only" mode so that continuing to press the shortcut key will highlight the next occurrence of the word ONLY if the occurrence is the full word. So "foo" will match other instances of "foo", but NOT "foobar".
If you manually highlight text and press the shortcut key, it will highlight the next occurrence of the text, but in this case, the text can occur as part of a longer string. So highlighting [ba]nner and pressing the shortcut key will match [ba]nk. Currently Brackets only supports this method (or at least for me, it does in the Ubuntu release).
The use case for the first method is for quickly renaming a variable within a function. If you have the variables "foo" and "foobar" and want to rename "foo" to "baz", you cannot do so without inadvertently selecting part of "foobar".
The text was updated successfully, but these errors were encountered:
In Sublime's implementation of multiple cursors, if you haven't selected any text and the text cursor is within/adjacent to a word (ie. you clicked the middle of the word), it will select the full word for you. Brackets does this, but Sublime will go into a "full word only" mode so that continuing to press the shortcut key will highlight the next occurrence of the word ONLY if the occurrence is the full word. So "foo" will match other instances of "foo", but NOT "foobar".
If you manually highlight text and press the shortcut key, it will highlight the next occurrence of the text, but in this case, the text can occur as part of a longer string. So highlighting [ba]nner and pressing the shortcut key will match [ba]nk. Currently Brackets only supports this method (or at least for me, it does in the Ubuntu release).
The use case for the first method is for quickly renaming a variable within a function. If you have the variables "foo" and "foobar" and want to rename "foo" to "baz", you cannot do so without inadvertently selecting part of "foobar".
The text was updated successfully, but these errors were encountered: