Function EditOperation.merge

try to merge two operations (simple entering of characters in the same line), return true if succeded

bool merge(
  EditOperation op
);