Added NXML source. #172

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

monsanto commented Sep 21, 2012

I will merge this source in a few days (see ac-yasnippet merge discussion)

Owner

m2ym commented Sep 21, 2012

prefix property seems to be strange. Why you extract a completion prefix within your own function not with prefix property?

Contributor

monsanto commented Sep 22, 2012

@m2ym I don't understand, I am using the prefix property. If you mean the other code doing parsing--it is because the completion code is a port from nxml's built-in completion code. I'd like to keep that as close to the original as possible to make it easy to adapt to nxml changes.

Owner

m2ym commented Sep 25, 2012

I can't believe that it could work without restricting the cursor point with \= in prefix property. See ac-prefix-c-dot for example.

Owner

m2ym commented Sep 25, 2012

If you have the edit screen like

...foo..._|_

prefix property could return the point of the start of foo even if the cursor is just after dots.

@m2ym m2ym closed this Feb 25, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment