[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phpinspect 2049121810 097/126: Make edit delta lookup i
From: |
ELPA Syncer |
Subject: |
[elpa] externals/phpinspect 2049121810 097/126: Make edit delta lookup inclusive of current point |
Date: |
Sat, 12 Aug 2023 00:58:47 -0400 (EDT) |
branch: externals/phpinspect
commit 2049121810b5c3a80a2c7e9d861d54f217ac3d61
Author: Hugo Thunnissen <devel@hugot.nl>
Commit: Hugo Thunnissen <devel@hugot.nl>
Make edit delta lookup inclusive of current point
---
phpinspect-edtrack.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/phpinspect-edtrack.el b/phpinspect-edtrack.el
index 2a7df925e3..d60c4b498c 100644
--- a/phpinspect-edtrack.el
+++ b/phpinspect-edtrack.el
@@ -81,7 +81,7 @@
(let ((edit (phpinspect-edtrack-edits track))
(encroached)
(pos))
- (while (and edit (< point (phpinspect-edit-end edit)))
+ (while (and edit (<= point (phpinspect-edit-end edit)))
(setq edit (cdr edit)))
(setq pos (- point (phpinspect-edit-delta edit)))
@@ -96,7 +96,7 @@
(let ((edit (phpinspect-edtrack-edits track))
(encroached)
(pos))
- (while (and edit (< point (phpinspect-edit-original-end edit)))
+ (while (and edit (<= point (phpinspect-edit-original-end edit)))
(setq edit (cdr edit)))
(setq pos (+ point (phpinspect-edit-delta edit)))
- [elpa] externals/phpinspect e65b268cea 053/126: Implement @method annotation indexation, (continued)
- [elpa] externals/phpinspect e65b268cea 053/126: Implement @method annotation indexation, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect ae3acbdbe1 056/126: Disable auto-reindexing by default, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect e7b1f22e8c 068/126: Sort tokens by size when returning tokens around point, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect 0e00d7e5a6 066/126: Wakeup worker when stop is requested and worker thread is paused, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect bb04e9a0f8 079/126: Implement strategy pattern for phpinspect-eldoc-function, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect f9f3440850 065/126: Make file contents insertion asynchronous in background threads, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect ad5ede01ad 071/126: Implement Incremental Parsing, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect 9d6ce5726d 076/126: Use `phpinspect-edtrack-original-position-at-point' for edit end determination, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect 58ad65932b 069/126: Add `phpinspect-parser' type and `phpinspect-defparser' macro, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect 5548734ef7 075/126: Implement parser interruption on user input, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect 2049121810 097/126: Make edit delta lookup inclusive of current point,
ELPA Syncer <=
- [elpa] externals/phpinspect 9a25959aad 095/126: Use metadata tree instead of hash table for token lookup, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect 43310092ad 081/126: Clear tree and edit tracker when reparsing (to ensure full reparse), ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect 8dd9bb07e4 080/126: Increase phpinspect-bmap-last-token-before-point backward search limit to 100, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect 75562aab35 085/126: Add some tests for edit tracker + patch newly discovered bugs, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect 135263c533 110/126: Add tests for incremental parsing + fix parser bugs that came to light, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect ea7795c76e 106/126: Remove commented code, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect 9b82c0d0f6 111/126: Reimplement `phpinspect-fix-imports' using metadata objects, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect c20df819b8 114/126: Give `phpinspect-buffer' responsibility over buffer indexation, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect 04606a4756 121/126: Fix test, ELPA Syncer, 2023/08/12
- [elpa] externals/phpinspect d51137e58e 112/126: Remove faulty edit tracker code based on wrong deduction, ELPA Syncer, 2023/08/12