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 » Reformat not work properly
Reformat not work properly [message #59661] Fri, 24 February 2023 17:58 Go to next message
cgokdemir is currently offline  cgokdemir
Messages: 12
Registered: February 2023
Location: TURKEY
Promising Member
Reformat code command from the edit or assist menu cuts the last lines of the code as shown in the attached picture. It doesn't always do it, when I undo with ctrl+z and apply it again, sometimes I get decent results.
Build:16735
Kind regards.


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


Windows 10 Home 64bit
Re: Reformat not work properly [message #59662 is a reply to message #59661] Fri, 24 February 2023 22:13 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1077
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

Thanks for raisin this issue! Could you tell us more? I am interested about clang-format version and the operating system you are using. Also, if this is stock example, could you tell us where we can find it? If this is not stock example, please put code here.

In my initial implementation that was basing on replacements. I had this problem, because of uni-code characters, however in current implementation uni-code works as expected. So, I am thinking what it might be? Please check what is the file encoding. clang-format works fine with UTF-8, other encodings might be problematic and might cause issues.

Klugier


U++ - one framework to rule them all.

[Updated on: Fri, 24 February 2023 22:20]

Report message to a moderator

Re: Reformat not work properly [message #59663 is a reply to message #59662] Fri, 24 February 2023 22:22 Go to previous message
cgokdemir is currently offline  cgokdemir
Messages: 12
Registered: February 2023
Location: TURKEY
Promising Member
os:Windows 10 64bit 22H2 Language:Turkish
upp:16735
CLANG default Upp
File Encoding:Default
Last test:Tutorial Draw01

it is repeated in the examples I created and the ones that come with upp.
Added movie.
Some times good work.


Windows 10 Home 64bit

[Updated on: Fri, 24 February 2023 23:18]

Report message to a moderator

Previous Topic: bug: file remaining in last-used list after Ctrl+W vs close-by-mouse
Next Topic: code editor open main package old files
Goto Forum:
  


Current Time: Tue Jul 23 15:52:29 CEST 2024

Total time taken to generate the page: 0.02340 seconds