Patch #2260 2007-11-28 19:02

artoj

Show possible line number ranges in Go to line dialog
Download
2260-Show_possible.patch (606 bytes)
Category
Application::Refinement
Status
Accepted
Close date
2007-11-28 19:31
Assigned to
biplab
Index: src/src/main.cpp
===================================================================
--- src/src/main.cpp    (revision 4676)
+++ src/src/main.cpp    (working copy)
@@ -3374,7 +3374,7 @@
     However, this is just a temporary hack, because the default dialog used isn't
     that suitable either.
     */
-    wxString strLine = wxGetTextFromUser( _("Line: "),
+    wxString strLine = wxGetTextFromUser( wxString::Format(_("Line (1 - %d): "), max),
                                         _("Goto line"),
                                         _T( "" ),
                                         this );
artoj 2007-11-28 19:03

A small UI tweak.

biplab 2007-11-28 19:31

Thank you for your patch.