This commit is contained in:
12
node_modules/micromark/dist/util/move-point.js
generated
vendored
Normal file
12
node_modules/micromark/dist/util/move-point.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
'use strict'
|
||||
|
||||
// chunks (replacement characters, tabs, or line endings).
|
||||
|
||||
function movePoint(point, offset) {
|
||||
point.column += offset
|
||||
point.offset += offset
|
||||
point._bufferIndex += offset
|
||||
return point
|
||||
}
|
||||
|
||||
module.exports = movePoint
|
||||
Reference in New Issue
Block a user