Merge pull request #103 from brondsem/getstate_code

Add getState() support for code
This commit is contained in:
Wes Cossick 2015-09-14 13:28:48 -05:00
commit 32cab53986

View file

@ -88,6 +88,8 @@ function getState(cm, pos) {
ret.quote = true;
} else if(data === 'strikethrough') {
ret.strikethrough = true;
} else if(data === 'comment') {
ret.code = true;
}
}
return ret;