Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Log showing in HEX mode.
Log showing in HEX mode. [message #44594] |
Mon, 13 April 2015 10:38 |
rxantos
Messages: 72 Registered: October 2011
|
Member |
|
|
When I press Alt-L to read the log of the program being debugged, I am presented with an HEX editor view.
Is there a way to get out of the HEX view and look at the log files the way it was before?
|
|
|
|
|
|
Re: Log showing in HEX mode. [message #44599 is a reply to message #44597] |
Tue, 14 April 2015 21:41 |
|
Klugier
Messages: 1076 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello Mirek,
OK, I see that detection is implemented (and it works correctly), but it is not used by idebar. It means that user can view every file in binary mode even ".cpp" or ".txt".
To prevent that we can check in ide/idebar.cpp (line 182) that file is binary. Code:
if(editfile.GetCount() && editashex.Find(editfile) < 0 && FileIsBinary(editfile))
menu.Add(AK_EDITASHEX, THISBACK(EditAsHex));
Probably, we should check it only once per file. Above solution can slow down edit bar appearance. It mostly depends on how FileIsBinary is implemented.
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Tue, 14 April 2015 21:51] Report message to a moderator
|
|
|
|
|
|
Goto Forum:
Current Time: Wed Apr 24 12:50:24 CEST 2024
Total time taken to generate the page: 0.69398 seconds
|