Feature #1697

Display (Line, Column) : Add Selection length => Display (Line, Col, Sel)

Added by Abdelghani Omari over 6 years ago. Updated over 6 years ago.

Status:ApprovedStart date:04/28/2017
Priority:NormalDue date:
Assignee:IƱaki Zabala% Done:


Category:IDESpent time:-
Target version:-


I have to use another text editor each time i want to calculate a text length
here the patched functions :

void Ide::DoDisplay()
    int l, h;      // added
    Point p = editor.GetColumnLine(editor.GetCursor());
    editor.GetSelection(l, h);  // added
    display.SetLabel(Format("Ln %d, Col %d, Sel %d", p.y + 1, p.x + 1, h-l));   // modified


and, we need to increase the display label width :

void Ide::SetupBars()
    int r = HorzLayoutZoom(120); // modified line : 100 => 120
    int l = HorzLayoutZoom(350);


#1 Updated by Miroslav Fidler over 6 years ago

  • Status changed from Patch ready to Approved

Very good idea, thank you!

Also available in: Atom PDF