Skip to content

Commit

Permalink
issue acejump#216
Browse files Browse the repository at this point in the history
honor "CamelHumps" setting for Target Mode (with selection)
  • Loading branch information
clojj committed Nov 18, 2019
1 parent 95e91c9 commit 4283147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/org/acejump/search/Jumper.kt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ object Jumper: Resettable {

private fun Editor.selectWordAtOffset(offset: Int = caretModel.offset) {
val ranges = ArrayList<TextRange>()
addWordSelection(false, editorText, offset, ranges)
addWordSelection(settings.isCamelWords, editorText, offset, ranges)

if (ranges.isEmpty()) return

Expand Down

0 comments on commit 4283147

Please sign in to comment.