exvim / main

This is the main repository for exVim!
exvim.github.io
MIT License
739 stars 169 forks source link

exvim did not open correctly #define for tags #84

Closed phush0 closed 10 years ago

phush0 commented 10 years ago
    n = chnGetTimeout(&SD3, TIME_INFINITE);

cursor is on chnGetTimeout + ] window show correctly definition

io_channel (.\os\hal\include) 1: #define chnGetTimeout(ip, time) ((ip)->vmt->gett(ip, time))

enter to open destination; header opened correctly but cursor stay on first row

same operation on function declaration: chIQPutI(&rs_in_fd, n);

cursor is on chIQPutt + ] window show correctly definition and declaration

chqueues.h (.\os\kernel\include) 1: msg_t chIQPutI(InputQueue iqp, uint8_t b); chqueues.c (.\os\kernel\src) 2: msg_t chIQPutI(InputQueue iqp, uint8_t b) {

enter on declaration header opened correctly and cursor is on declaration

define is correctly placed in tags file: chnGetTimeout .\os\hal\include\io_channel.h 131;" d

jwu commented 10 years ago

I can not reproduce the problem here. Would you mind to send me those pieces of source code so that I can test if some pattern prevent tag jumping correctly.

phush0 commented 10 years ago

Where can I send you parts of the code for test

phush0 commented 10 years ago

I am attaching archive with sample code that have this problem. Inside is readme.txt how to represent bug

Best Regards Dimitar Atanasov

On Monday, September 29, 2014 7:49 PM, Wu Jie notifications@github.com wrote:

I can not reproduce the problem here. Would you mind to send me those pieces of source code so that I can test if some pattern prevent tag jumping correctly. — Reply to this email directly or view it on GitHub.

jwu commented 10 years ago

You can send me through email: KarasAya@gmail.com

phush0 commented 10 years ago

additional tests same conditions, but ctrl+ click on chnGetTimeout opens correctly define

phush0 commented 10 years ago

also if you use leader + ] and then enter the tag is not put in tag stack and can not move back to original position which is very frustrating

phush0 commented 10 years ago

diff --git a/autoload/extags.vim b/autoload/extags.vim index f70a0fa..ae6b83f 100644 --- a/autoload/extags.vim +++ b/autoload/extags.vim @@ -185,7 +185,7 @@ function extags#confirm_select(modifier) " cursor jump let ex_cmd = s:tag_list[cur_tagidx-1].cmd try

jwu commented 10 years ago

merged https://github.com/exvim/ex-tags/commit/1a4aabe464d44ec7a75bab873a0f9c1675c1cf9c