Angus Leeming wrote:
On Thursday 14 November 2002 3:36 pm, Darren Freeman wrote:

Dear list,

When spellchecking, a double click of the desired suggestion replaces
the word and moves to the next possible error, as it should. But the
text in the dialogue doesn't update, it still refers to the previous
error.

I don't see this.

On Thursday 14 November 2002 3:36 pm, Darren Freeman wrote:

Dear list,

the spelchecker status bar is still corrupted. Attached is a screenshot
at 100%. When I looked at it glosely in GIMP I realised that the weird
characters are actually two copies of 100% on top of each other, one
normal size and a second much smaller over the % sign of the first.

Hope it helps,
Darren

Does this fix it?

-		// reset dialog and buttons into start condition
+		// Set the progress bar
 		input(0, 0);
"input(0,0) not only sets the progress bar, but also ensures that the initial
text in the start button is "Start" and not "Stop"; it also then dis/enables
the appropriate buttons for the "Not yet running" condition of the dialog.

-		// set slider 'finished' status
-		fl_set_slider_bounds(dialog_->slider_progress, 0.0, controller().getCount());
-		fl_set_slider_value(dialog_->slider_progress, controller().getCount());
-		fl_set_object_label(dialog_->slider_progress, "100 %");
+//  		// set slider 'finished' status
+//  		fl_set_slider_bounds(dialog_->slider_progress, 0.0, controller().getCount());
+//  		fl_set_slider_value(dialog_->slider_progress, controller().getCount());
+//  		fl_set_object_label(dialog_->slider_progress, "100 %");
This fix looks wrong to me. without these lines we may end up with something
like "98 %", or something else but not 100 %.
I realize, though, that we may have to add here a few lines that clear the
suggestions and replace fields, since they are obsolete at the moment we
reach this point.

Rob.

Reply via email to