ctietze,
@ctietze@mastodon.social avatar

@mattiem @krzyzanowskim Ah right, multiple cursors 🤔 That would suck.

At the moment, SelectLineRange with the token list as parameters would boil down to get the NSRange for all tokens in the list, then use NSString.lineRange to make sure I'm only operating on whole lines.

Deletions are applied from back to front and shrink the selection by the deleted character delta.

Insertion likewise increases the affectedLineRange.

Finally, the Select call places the cursor in 1 location.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • ethstaker
  • Youngstown
  • everett
  • slotface
  • osvaldo12
  • rosin
  • mdbf
  • kavyap
  • thenastyranch
  • ngwrru68w68
  • megavids
  • Durango
  • modclub
  • cubers
  • khanakhh
  • Leos
  • tacticalgear
  • cisconetworking
  • vwfavf
  • tester
  • anitta
  • normalnudes
  • provamag3
  • JUstTest
  • All magazines