@@ -204,7 +204,11 @@ export class Editor<T = string> {
204
204
* by the `predicate` is found.
205
205
* @returns Point after the last character skipped.
206
206
*/
207
- private skipWord ( iterator : CharIterator < T > , predicate : CharPredicate < string > , firstLetterFound : boolean ) : Point < T > | undefined {
207
+ private skipWord (
208
+ iterator : CharIterator < T > ,
209
+ predicate : CharPredicate < string > ,
210
+ firstLetterFound : boolean ,
211
+ ) : Point < T > | undefined {
208
212
let next : ChunkSlice < T > | undefined ;
209
213
let prev : ChunkSlice < T > | undefined ;
210
214
while ( ( next = iterator ( ) ) ) {
@@ -229,7 +233,11 @@ export class Editor<T = string> {
229
233
* matched by the `predicate` is found.
230
234
* @returns Point after the last character skipped.
231
235
*/
232
- public fwdSkipWord ( point : Point < T > , predicate : CharPredicate < string > = isLetter , firstLetterFound : boolean = false ) : Point < T > {
236
+ public fwdSkipWord (
237
+ point : Point < T > ,
238
+ predicate : CharPredicate < string > = isLetter ,
239
+ firstLetterFound : boolean = false ,
240
+ ) : Point < T > {
233
241
const firstChar = point . rightChar ( ) ;
234
242
if ( ! firstChar ) return point ;
235
243
const fwd = this . fwd1 ( firstChar . id ( ) , firstChar . chunk ) ;
@@ -247,7 +255,11 @@ export class Editor<T = string> {
247
255
* matched by the `predicate` is found.
248
256
* @returns Point after the last character skipped.
249
257
*/
250
- public bwdSkipWord ( point : Point < T > , predicate : CharPredicate < string > = isLetter , firstLetterFound : boolean = false ) : Point < T > {
258
+ public bwdSkipWord (
259
+ point : Point < T > ,
260
+ predicate : CharPredicate < string > = isLetter ,
261
+ firstLetterFound : boolean = false ,
262
+ ) : Point < T > {
251
263
const firstChar = point . leftChar ( ) ;
252
264
if ( ! firstChar ) return point ;
253
265
const bwd = this . bwd1 ( firstChar . id ( ) , firstChar . chunk ) ;
0 commit comments