Hackerpilot / textadept-d

D language plugin for Textadept
MIT License
13 stars 3 forks source link

Textadept 11 #8

Open triplejam opened 4 years ago

triplejam commented 4 years ago

"All buffer positions, lines, and countable entities start from 1 instead of 0." Had to change position passed to dcd-client

Hackerpilot commented 4 years ago

I've been working on updating my scripts for TA 11, but haven't thoroughly tested the changes or pushed anything to Github yet. I think that I'll keep all that work on a branch until TA 11 is actually out.

Hackerpilot commented 4 years ago

I just pushed some changes that should make the module work with Textadept 11. Let me know if you find any bugs.

https://github.com/Hackerpilot/textadept-d/commit/5bded4556e88458cd8458efe864749c4b1bcbcc8

triplejam commented 4 years ago

goto_pos in gotoDeclaration ought to be +1 and the goto_line in onSymbolListSelection can have the -1 removed

Hackerpilot commented 4 years ago

Just pushed a fix for about three more off-by-one errors.