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] Stupid wrapping in .t files
[BUG] Stupid wrapping in .t files [message #39464] Sun, 17 March 2013 11:27
Shire is currently offline  Shire
Messages: 41
Registered: September 2006
Location: Russia, Yamal peninsula
Member
Translate file synchronization procedure generates .t file with too small wrapping for some languages:
index.php?t=getfile&id=4105&private=0

Wrapping is doing by procedure AsCString(), which wraps lines by bytes, not characters. Therefore for multibyte encodings wrap limit is too small.

I fixed this just by increase limit (60-80 chars for dominating wide monitors - isn't ancient?) in
uppsrc/ide/t.cpp
Quote:


out << '(' << AsCString(q >= 0 ? e.text[q] : String(), 200, linepfx, ascflags) << ")\r\n";

  • Attachment: UppTBug.png
    (Size: 3.76KB, Downloaded 656 times)
Previous Topic: theide/upp Errors [SOLVED]
Next Topic: dbghelp.dll and debugger on XP
Goto Forum:
  


Current Time: Tue Apr 16 12:51:31 CEST 2024

Total time taken to generate the page: 0.01557 seconds