Skip to content

Commit

Permalink
add TODOs for #327, #340
Browse files Browse the repository at this point in the history
  • Loading branch information
breandan committed Nov 19, 2020
1 parent 7e4168d commit a38c670
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ If you would like to [contribute](https://github.com/acejump/AceJump/pulls), her
* [Fold text between matches](https://github.com/acejump/AceJump/issues/255)
* [Multi-platform support](https://github.com/acejump/AceJump/issues/229)

To start [IntelliJ IDEA CE](https://github.com/JetBrains/intellij-community) with AceJump installed, run `./gradlew runIde -PluginDev`.
To start [IntelliJ IDEA CE](https://github.com/JetBrains/intellij-community) with AceJump installed, run `./gradlew runIde -PluginDev [-x test]`.

To just run [the tests](src/test/kotlin/AceTest.kt), execute `./gradlew test` - this is usually much faster than starting an IDE.

Expand Down
5 changes: 4 additions & 1 deletion src/main/kotlin/org/acejump/control/AceAction.kt
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ class AceTargetAction: AceAction() {
override fun customize() = Jumper.toggleTargetMode()
}

/**
/*
* When line mode is activated, we will tag the beginning and end of each line.
*
* TODO: https://github.com/acejump/AceJump/issues/327
* TODO: https://github.com/acejump/AceJump/issues/340
*/

class AceLineAction: AceAction() {
Expand Down
2 changes: 2 additions & 0 deletions src/main/kotlin/org/acejump/label/Pattern.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ enum class Pattern(val string: String) {
END_OF_LINE("\\n|\\Z"),
START_OF_LINE("^.|^\\n"),
CODE_INDENTS("[^\\s].*|^\\n"),
// START_OF_LINE("^[^\\n]{2,}|^\\n"),
// CODE_INDENTS("[^\\s][^\\n]{2,}|^\\n"),
LINE_MARK(END_OF_LINE.string + "|" +
START_OF_LINE.string + "|" +
CODE_INDENTS.string),
Expand Down

0 comments on commit a38c670

Please sign in to comment.