Add comment for operations loop
This commit is contained in:
parent
832da062cc
commit
13bb719a89
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ export function toggleInlineFormat(range, prefix, suffix = prefix) {
|
||||||
// compute paragraph [start, end] indexes
|
// compute paragraph [start, end] indexes
|
||||||
const paragraphIndexes = [];
|
const paragraphIndexes = [];
|
||||||
let startIndex = 0;
|
let startIndex = 0;
|
||||||
// let seenNewlines = 0;
|
// start at i=2 because we look at i and up to two parts behind to detect paragraph breaks at their end
|
||||||
for (let i = 2; i < parts.length; i++) {
|
for (let i = 2; i < parts.length; i++) {
|
||||||
// paragraph breaks can be denoted in a multitude of ways,
|
// paragraph breaks can be denoted in a multitude of ways,
|
||||||
// - 2 newline parts in sequence
|
// - 2 newline parts in sequence
|
||||||
|
|
Loading…
Reference in a new issue