andri-ch / gotoword

vim plugin that gives users the possibility to write and access documentation about the word or expr. under cursor
GNU Lesser General Public License v3.0
0 stars 0 forks source link

make all HelperAllWords, HelperAllContexts etc. nomodifiable #35

Closed andri-ch closed 9 years ago

andri-ch commented 9 years ago

use utils.toggle_readonly. A user shouldn't be allowed to change the buffer after HelperAllWords has be executed.

andri-ch commented 9 years ago

Created some _update_observers_pre() and _update_observers_post() for pre and post calling of observers when template is changed.