1
0
mirror of https://github.com/chylex/IntelliJ-AceJump.git synced 2025-04-09 17:15:43 +02:00

release next version

This commit is contained in:
breandan 2020-04-19 01:42:35 -04:00
parent 1e0d0eb5c9
commit 5190d99e33
3 changed files with 6 additions and 8 deletions
CHANGES.mdbuild.gradle.kts
src/main/kotlin/org/acejump/search

View File

@ -10,8 +10,6 @@ Honor camel humps [#315](https://github.com/acejump/AceJump/issues/315). Thanks
Support dynamic application reloading [#322](https://github.com/acejump/AceJump/issues/322).
Speed up tagging on very large files.
### 3.5.9
Fix a build configuration error affecting plugins which depend on AceJump. Fixes [#305](https://github.com/acejump/AceJump/issues/305).

View File

@ -10,7 +10,7 @@ plugins {
fun fetchChangeNotes() =
File("CHANGES.md").readLines().drop(4).takeWhile { !it.startsWith("###") }.let { notes ->
"<![CDATA[$notes<a href=\"https://github.com/acejump/AceJump/blob/master/src/main/resources/META-INF/CHANGES.md\">Release Notes</a> ]]>"
"<![CDATA[<a href=\"https://github.com/acejump/AceJump/blob/master/src/main/resources/META-INF/CHANGES.md\">Release Notes</a> ]]>"
}
tasks {
@ -30,12 +30,12 @@ tasks {
}
withType<PublishTask> {
token(project.findProperty("jbr.token") as String?
?: System.getenv("JBR_TOKEN"))
val intellijPublishToken: String? by project
token(intellijPublishToken)
}
withType<PatchPluginXmlTask> {
sinceBuild("183.*")
sinceBuild("201.*")
changeNotes(fetchChangeNotes())
}
}
@ -56,4 +56,4 @@ intellij {
}
group = "org.acejump"
version = "3.5.9"
version = "3.6.0"

View File

@ -51,7 +51,7 @@ internal object Scanner {
fun String.search(model: AceFindModel, cache: Set<Int>, chunk: IntRange) =
run {
val query = model.stringToFind
if (isEmpty() || query.isEmpty()) sortedSetOf()
if (isEmpty() || query.isEmpty()) sortedSetOf<Int>()
else if (cache.isNotEmpty()) filterCache(cache, query)
else findAll(model.toRegex(), chunk)
}.toList()