Skip to content

Commit 42008f3

Browse files
committed
Merge branch 'dev'
2 parents 4914ab1 + 6590f7a commit 42008f3

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

RELEASES.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Version 1.0.11 (2019-01-09)
2+
3+
* Improve completion order.
4+
* Support annotaion value completion.
5+
* Fix column position bug (thanks @Jeanhwea)
6+
* Fix some bugs and improve stability.
7+
18
# Version 1.0.10 (2018-11-16)
29

310
* Add hooks after a test is executed. (thanks @roman)

meghanada.el

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;; Author: Yutaka Matsubara (yutaka.matsubara@gmail.com)
77
;; Homepage: https://github.com/mopemope/meghanada-emacs
88
;; Keywords: languages java
9-
;; Package-Version: 1.0.10
9+
;; Package-Version: 1.0.11
1010
;; Package-Requires: ((emacs "24.3") (yasnippet "0.6.1") (company "0.9.0") (flycheck "0.23"))
1111

1212
;; This program is free software; you can redistribute it and/or modify
@@ -48,7 +48,7 @@
4848
;; Const
4949
;;
5050

51-
(defconst meghanada-version "1.0.10")
51+
(defconst meghanada-version "1.0.11")
5252
(defconst meghanada-setup-version "0.0.2")
5353
(defconst meghanada--eot "\n;;EOT\n")
5454
(defconst meghanada--junit-buf-name "*meghanada-junit*")
@@ -261,9 +261,13 @@ In linux or macOS, it can be \"mvn\"; In Windows, it can be \"mvn.cmd\". "
261261
"TODO: FIX DOC ."
262262
(format-mode-line "%l"))
263263

264+
(defun meghanada--real-current-column ()
265+
"like `current-column', but skip invisible characters in pretty-symbol-mode."
266+
(- (point) (line-beginning-position)))
267+
264268
(defun meghanada--what-column ()
265269
"TODO: FIX DOC ."
266-
(number-to-string (1+ (current-column))))
270+
(number-to-string (1+ (meghanada--real-current-column))))
267271

268272
(defun meghanada--what-symbol ()
269273
"TODO: FIX DOC ."

0 commit comments

Comments
 (0)