.ide: removed DDUMP

This commit is contained in:
Mirek Fidler 2024-12-23 09:44:37 +01:00
parent e4598015e0
commit ea71e0a650
2 changed files with 0 additions and 2 deletions

View file

@ -387,7 +387,6 @@ void TextCompareCtrl::Paint(Draw& draw)
int b = h & 31;
paper = AColor(255 - r, 255 - g, 255 - b);
}
Color ink = l.diff ? SRed(): SGray();
draw.DrawRect(n_width, y, blame_width, letter.cy, paper);
draw.Clip(n_width, y, blame_width - 2, letter.cy);
if(hash != last_hash)

View file

@ -192,7 +192,6 @@ void Ide::InsertSequence()
editor.Paste(~dlg.list);
else {
int64 lp = editor.GetPos(editor.GetCurrentLine(), 0);
DDUMP(editor.Get(lp, editor.GetCursor() - lp));
WString indent = editor.GetW(lp, editor.GetCursor() - lp); // try to maintain the indent
indent = Filter(indent, [](int c)->int { return c == '\t' ? '\t' : ' '; });
WString txt = Filter(dlg.list.GetW(), [](int c) { return c == '\r' ? 0 : c; });