anchor.diff:  function TKMSelectableEdit.DrawEolSymbol: Boolean;
   begin
     Result := False; //EOL is not showing by default
  +end;
  +
  +
  +function TKMSelectableEdit.DoShowMarkup: Boolean;
  +begin
  +  Result := False; //MarkUp is not showing by default
   end;
   
   
  
positive.code: var RText: UnicodeString;
  begin
    RText := Copy(fText, fLeftIndex+1, Length(fText) - fLeftIndex);
    if gRes.Fonts[fFont].GetTextSize(RText, False, DrawEolSymbol).X < X-SelfAbsLeft-4 then
      Result := Length(RText) + fLeftIndex
    else
      Result := gRes.Fonts[fFont].CharsThatFit(RText, X-SelfAbsLeft-4, False, DrawEolSymbol) + fLeftIndex;
  end;
  
  
  
negative.code:     BeforeSelectionText := Copy(fText, fLeftIndex+1, max(fSelectionStart, fLeftIndex) - fLeftIndex);
      SelectionText := Copy(fText, max(fSelectionStart, fLeftIndex)+1, fSelectionEnd - max(fSelectionStart, fLeftIndex));
  
      BeforeSelectionW := gRes.Fonts[fFont].GetTextSize(BeforeSelectionText, DoShowMarkup, DrawEolSymbol).X;
      SelectionW := gRes.Fonts[fFont].GetTextSize(SelectionText, DoShowMarkup, DrawEolSymbol).X;
  
      TKMRenderUI.WriteShape(SelfAbsLeft+4+BeforeSelectionW, AbsTop+3, min(SelectionW, Width-8), Height-6, clTextSelection);
    end;
  