Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » LineEdit, EditFields, DocEdit » BUG: DocEdit: undo/redo works on ReadOnly DocEdit
BUG: DocEdit: undo/redo works on ReadOnly DocEdit [message #26543] Mon, 10 May 2010 16:31 Go to next message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
this might be a bug, change to

CtrlLib/Text.cpp:634
void TextCtrl::StdBar(Bar& menu) {
	NextUndo();
	if(undosteps) {
		menu.Add(/*IsEditable() && */undo.GetCount(), t_("Undo"), THISBACK(Undo))
			.Key(K_ALT_BACKSPACE)
			.Key(K_CTRL_Z);
		menu.Add(/*IsEditable() && */redo.GetCount(), t_("Redo"), THISBACK(Redo))
			.Key(K_SHIFT|K_ALT_BACKSPACE)
			.Key(K_SHIFT_CTRL_Z);
		menu.Separator();
	}


removing comments ofcorse, this is to show where the change is
Re: BUG: DocEdit: undo/redo works on ReadOnly DocEdit [message #26571 is a reply to message #26543] Wed, 12 May 2010 10:53 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thanks.

Mirek
Previous Topic: [Not a bug] EditString::SetData sets text properly
Next Topic: Copy from a readonly EditField
Goto Forum:
  


Current Time: Fri Mar 29 15:25:04 CET 2024

Total time taken to generate the page: 0.01261 seconds