From b589bca9ef9fca854afe6dc35ce153b4c8ca0309 Mon Sep 17 00:00:00 2001 From: dickelbeck Date: Sun, 4 Nov 2007 15:58:35 +0000 Subject: [PATCH] todo.txt update --- todo.txt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/todo.txt b/todo.txt index c013ceaa47..10a96a4cdf 100644 --- a/todo.txt +++ b/todo.txt @@ -55,3 +55,31 @@ understanding by new developers. *** Add tooltip text to all non-obvious controls in every dialog window. Need to do this using DialogBlocks. + + +2007-Nov-4 Assigned To: dick, but probably not til January. +================================================================================ +Enhance DRC dialog box to: +1) retain lines of error text, so as user re-enters dialog, the previously found errors persist. +2) support double or single clicking a text line, and have the pcbnew cursor go to the offending marker. +3) use color in the text line display. +4) use tooltip on a per line basis, which would show a generic, but error type specific +message about the error for that line. +5) Use sizers properly so that as the dialog box is resized, the text area gets +all the additional space, both horizontally and vertically. +6) The initial size of the dialog needs to be big enough to show the text lines + in a clear way. +7) Add a delete button so user can remove a single line of text after he fixes that track. The delete button +should also delete that single marker. +-------------- +Implementation Ideas: retain all drc wxStrings in a vector so they +can be re-displayed again on another popup of the dialog. Switch from wxTextControl +to wxHtmlListBox for the errors. Add parsing and formatting functions to allow +grabbing of the coordinate of the marker out of text, and to parse a generic +error message such that it can be embellished into html for use in the html +line, such that we can get color. There may be a requirement to rework the +generation of the drc error strings to facillitate easy parsing. Although +maybe we use structures instead of strings for error reporting so the parsing +does not need to happen. + +