Patch #2261 2007-11-28 22:01
artoj
Allow jumping to the first line in Go to line dialog- Download
- 2261-Allow_jumping.patch (445 bytes)
Index: src/src/main.cpp
===================================================================
--- src/src/main.cpp (revision 4683)
+++ src/src/main.cpp (working copy)
@@ -3380,7 +3380,7 @@
this );
long int line = 0;
strLine.ToLong(&line);
- if ( line > 1 && line <= max )
+ if ( line >= 1 && line <= max )
{
ed->UnfoldBlockFromLine(line - 1);
ed->GotoLine(line - 1);
History
artoj 2007-11-28 22:02
You can currently jump between lines: 2 - last line.
biplab 2007-11-29 09:01
Thanks for the patch.