mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
lst: cleanup - use parameter instead of the field (fix typo)
This commit is contained in:
@@ -370,7 +370,7 @@ class DocumentTracker : Disposable {
|
||||
|
||||
private fun getAffectedRange(line1: Int, oldLine2: Int, newLine2: Int, e: DocumentEvent): Triple<Int, Int, Int> {
|
||||
val afterLength = newLine2 - line1
|
||||
val beforeLength = line2 - line1
|
||||
val beforeLength = oldLine2 - line1
|
||||
|
||||
// Whole line insertion / deletion
|
||||
if (e.oldLength == 0 && e.newLength != 0) {
|
||||
|
||||
Reference in New Issue
Block a user