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 » [solved] New Navigator has an interesting bug
[solved] New Navigator has an interesting bug [message #43702] Tue, 23 September 2014 13:18 Go to next message
cbpporter is currently offline  cbpporter
Messages: 1400
Registered: September 2007
Ultimate Contributor
So I have this extremely ugly auto-generated UT code:
::ColorRGBA b;
b = ::ColorRGBA();
b = ::ColorRGBA((uint8)(50));
b = ::ColorRGBA(0.5f);
b = ::ColorRGBA(0.1);
b = ::ColorRGBA((uint8)(1), (uint8)(2), (uint8)(3));
b = ::ColorRGBA(0.1f, (float)(0.2), 0.3f);
b = ::ColorRGBA((uint8)(1), (uint8)(2), (uint8)(3), (uint8)(4));
b = ::ColorRGBA(0.1, 0.2, 0.3, 0.4);
b = ::ColorRGBA();
b = ::ColorRGBA((uint8)(50));
b = ::ColorRGBA(0.5f);
b = ::ColorRGBA(0.1);
b = ::ColorRGBA((uint8)(1), (uint8)(2), (uint8)(3));
b = ::ColorRGBA(0.1f, (float)(0.2), 0.3f);
b = ::ColorRGBA((uint8)(1), (uint8)(2), (uint8)(3), (uint8)(4));
b = ::ColorRGBA(0.1, 0.2, 0.3, 0.4);
b._();
b._((uint8)(50));
b._(0.5f);
b._(0.1);
b._((uint8)(1), (uint8)(2), (uint8)(3));
b._(0.1f, (float)(0.2), 0.3f);
b._((uint8)(1), (uint8)(2), (uint8)(3), (uint8)(4));
b._(0.1, 0.2, 0.3, 0.4);
b._();
b._((uint8)(50));
b._(0.5f);
b._(0.1);
b._((uint8)(1), (uint8)(2), (uint8)(3));
b._(0.1f, (float)(0.2), 0.3f);
b._((uint8)(1), (uint8)(2), (uint8)(3), (uint8)(4));
b._(0.1, 0.2, 0.3, 0.4);


It is indented with one tab. If I select it all and press Shift-tab, after about two second this happens:

index.php?t=getfile&id=4625&private=0


If I press tab again restoring the indentation the navigator returns to normal Smile.
  • Attachment: bug.png
    (Size: 48.54KB, Downloaded 368 times)

[Updated on: Tue, 03 January 2017 12:01]

Report message to a moderator

Re: New Navigator has an interesting bug [message #43703 is a reply to message #43702] Tue, 23 September 2014 19:09 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13617
Registered: November 2005
Ultimate Member
Actually, this is "sort of" intended behaviour. The most important heuristics in the parser says that level zero indentation means global level.

But I will look into it...

Mirek
Re: New Navigator has an interesting bug [message #44769 is a reply to message #43703] Mon, 22 June 2015 16:31 Go to previous message
mirek is currently offline  mirek
Messages: 13617
Registered: November 2005
Ultimate Member
Fixed.
Previous Topic: [solved] Go to line is a bit awkward
Next Topic: Code completion for external (non-upp) API's
Goto Forum:
  


Current Time: Sat May 21 15:26:00 CEST 2022

Total time taken to generate the page: 0.01618 seconds