-
Notifications
You must be signed in to change notification settings - Fork 54
Closed
Labels
Description
Hello,
I would like to ask for a feature to display the current position in the data.
I already downloaded and compiled Notepad2e for this, but I think it would be handy to have it integrated.
It just requires three small changes in UpdateStatusbar()
WCHAR tchPos[32];
...
wsprintf(tchPos, L"%i", iPos);
FormatNumberStr(tchPos);
...
if (!bMarkLongLines)
FormatString(tchDocPos, COUNTOF(tchDocPos), IDS_DOCPOS, tchLn, tchLines, tchCol, tchSel, tchPos);
else
FormatString(tchDocPos, COUNTOF(tchDocPos), IDS_DOCPOS2, tchLn, tchLines, tchCol, tchCols, tchSel, tchPos);
Define IDS_DOCPOS and IDS_DOCPOS2 like that:
IDS_DOCPOS "Ln %s : %s Col %s Sel %s Pos %s"
IDS_DOCPOS2 "Ln %s : %s Col %s : %s Sel %s Pos %s"
Thank you for that great tool.