cleanup. moved event-registration to registerEvents. removed unnecessary call of registerEvents
removed console.log
check the preceding character
use getBufferPosition, instead of calling both (getBufferRow, getBufferColumn)
removed unnecessary or
added brackets
:lipstick: