Odd editing behaviour (exists in 1639)

I’ve noticed this is in the last couple of betas and seems new behaviour.

Repro steps (slightly artificial but demonstrate issue):

  • type “public class MyClass”
  • delete “public class” (i.e… leaving the class name)
  • position cursor at start of class name if not there already
  • type “publicclass”

pressing final space causes the class name to be deleted when it probably shouldn’t.

Is that the same problem as this: http://share.dwarfland.com/YDNW (where pressing space after “not” should NOT extend the CC selection over the existing identifier)?

if so: bugs://70216: Fire: Fire: typing space at the end of CC lets soft selection expand around the next identifier

Yes, looks pretty much the same.

and fixed. the check for “am i invoking CC at the start of a token, or in the middle” didn’t take into account that the space you typed wasn’t there yet when it checked :wink: