CPoint ptPos;
ptPos.x = 0;
ptPos.y = nApparentLine;
- int nScrollLine = nApparentLine - CONTEXT_LINES_ABOVE;
+
+ // Scroll line to center of view
+ const int offset = GetScreenLines() / 2;
+ int nScrollLine = nApparentLine - offset;
if (nScrollLine < 0)
nScrollLine = 0;
pCurrentView->ScrollToLine(nScrollLine);
+2004-03-15 Kimmo
+ RFE: [ 874366 ] Add goto line-number
+ Scroll line searched to center of view, as suggested by harry mckame
+ Src: MergeEditView.cpp
+
2004-03-14 Kimmo
RFE [ 897975 ] Syntax highlighting for INI files
Color "[...]"
BUG: [ 916028 ] Deleting unique file does not remove it from view
Src: DirActions.cpp
-
2004-03-13 Seier
Add 48*48 icon version (256 & 16 color)
Src/res: Merge.ico