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++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » [BUG & PATCH] InsertColorDlg should respect cancel and system close window button.
[BUG & PATCH] InsertColorDlg should respect cancel and system close window button. [message #40246] Wed, 10 July 2013 15:59 Go to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

I have noticed that if you push cancel or system window close button in the InsertColorDlg window, TheIDE performes paste operation on the code editor. This behavior is not acceptable.

How to reproduce?
1. Press Ctrl+A on the text editor.
2. Press RightButton.
3. Then Insert -> Insert color...
4. Push cancel or system window close button.
5. Result: The code disappeared!!!

I have enclosed improved source file (IDE package - Insert.cpp). I have added "canceled" variable and "IsCanceled" method to the InsertColorDlg window.

Sincerely,
Klugier
  • Attachment: Insert.cpp
    (Size: 3.53KB, Downloaded 260 times)


U++ - one framework to rule them all.

[Updated on: Wed, 10 July 2013 19:39]

Report message to a moderator

Re: [BUG & PATCH] InsertColorDlg should respect cancel and system close window button. [message #40642 is a reply to message #40246] Sun, 25 August 2013 10:21 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thank you, patch applied.

Mirek
Previous Topic: [FEATURE REQUEST] Can we support C++11 highlight?
Next Topic: Feature request: code generation tool
Goto Forum:
  


Current Time: Fri Mar 29 00:47:15 CET 2024

Total time taken to generate the page: 0.02674 seconds