Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

move-point.js 315B

123456789101112
  1. 'use strict'
  2. // Note! `move` only works inside lines! It’s not possible to move past other
  3. // chunks (replacement characters, tabs, or line endings).
  4. function movePoint(point, offset) {
  5. point.column += offset
  6. point.offset += offset
  7. point._bufferIndex += offset
  8. return point
  9. }
  10. module.exports = movePoint