[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dart-mode 0c3d6d7 074/192: Fix an off-by-one bug in offset
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dart-mode 0c3d6d7 074/192: Fix an off-by-one bug in offset calculation. |
Date: |
Sun, 29 Aug 2021 11:01:53 -0400 (EDT) |
branch: elpa/dart-mode
commit 0c3d6d7a2f5e89bee8f23a7f9ef936ab200c91e2
Author: Natalie Weizenbaum <nweiz@google.com>
Commit: Natalie Weizenbaum <nweiz@google.com>
Fix an off-by-one bug in offset calculation.
---
dart-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dart-mode.el b/dart-mode.el
index f408de4..2630b8a 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -735,7 +735,7 @@ length of the text before the change is
CHANGE-BEFORE-LENGTH. See also
. ((,buffer-file-name
. ((type . "change")
(edits
- . (((offset . ,change-begin)
+ . (((offset . ,(- change-begin 1))
(length . ,change-before-length)
(replacement
. ,(buffer-substring change-begin change-end))))))))))))
- [nongnu] elpa/dart-mode eca6432 058/192: Bump version to 0.10., (continued)
- [nongnu] elpa/dart-mode eca6432 058/192: Bump version to 0.10., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode a935c27 059/192: don't advise c-parse-state if c-parse-state-1 isn't defined., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 3b3992b 060/192: Merge pull request #8 from rginda/unadvise, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 079ecc2 062/192: Add support for Dart analysis server., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 88920ee 066/192: Bump version to 0.13., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode c54f014 069/192: Merge pull request #18 from hterkelsen/no_pty, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode d6bb4e8 068/192: Document why we are using pipes rather than pty, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode e05c132 070/192: Add a README.md with installation instructions., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode bf82220 071/192: Merge pull request #19 from tonygentilcore/readme, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode d20d978 076/192: Bump version to 0.14., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 0c3d6d7 074/192: Fix an off-by-one bug in offset calculation.,
ELPA Syncer <=
- [nongnu] elpa/dart-mode be9e422 077/192: Fix a bunch of byte-compilation warnings., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode e6635b3 084/192: Bump version to 0.15. (#38), ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode b380818 085/192: Adapt the gofmt-related code in go-mode.el for dartfmt. (#39), ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode f5962c3 080/192: Make version check work in Emacs 25., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 93efb54 089/192: Update the version and URL and flesh out the README, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode ecf3191 091/192: Add a command to show hover information, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 0cf32d5 092/192: Highlight hover descriptions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode c4a5045 096/192: Add support for navigation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode a1f36f4 094/192: Allow dart-show-hover to display in a new buffer, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 89a2d4e 100/192: Add a special mode for popups, ELPA Syncer, 2021/08/29