View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003947 | The Dark Mod | Coding | public | 30.11.2014 14:48 | 17.03.2017 01:30 |
Reporter | Assigned To | SteveL | |||
Priority | normal | Severity | normal | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Platform | Win32 | OS | Windows | OS Version | 7 sp1 |
Product Version | SVN | ||||
Fixed in Version | TDM 2.03 | ||||
Summary | 0003947: Condump's without word-wrap. | ||||
Description | Currently the condump create's a basic texture file with word-wrap, the issue is there is no way to remove the carriage returns after the fact. | ||||
Tags | No tags attached. | ||||
There's a small problem: the condump command just reads off what's displayed on the console and what's on the console contains no linebreaks. When text gets printed to the console, the printer function first wraps words that'll go over the end of the line, and then converts line breaks plus the space after wrapped words into spaces to fill up the rest of the line. That means that when the condump command comes to read the text off the console, it won't know whether to add a linebreak after a fullish line or not. We can add a fix for Biker's specific situation: long file paths being broken up by linebreaks. We can add an "unwrap" keyword that doesn't change any existing behaviour but that stitches together any lines that end in a non-space. That'll give a few false positives -- the occasional message that happened to end exactly on the final character of the console line will get the next line joined to it -- but it'll be an optional keyword so that shouldn't cause anyone any problems. |
|
At rev 6333 framework/Console.cpp |
|
Usage: > condump unwrap filename |
|
Date Modified | Username | Field | Change |
---|---|---|---|
30.11.2014 14:48 |
|
New Issue | |
30.11.2014 19:07 | SteveL | Assigned To | => SteveL |
30.11.2014 19:07 | SteveL | Status | new => assigned |
04.12.2014 19:14 | SteveL | Note Added: 0007199 | |
04.12.2014 19:14 | SteveL | Note Added: 0007200 | |
04.12.2014 19:15 | SteveL | Status | assigned => resolved |
04.12.2014 19:15 | SteveL | Fixed in Version | => TDM 2.03 |
04.12.2014 19:15 | SteveL | Resolution | open => fixed |
04.12.2014 19:16 | SteveL | Note Edited: 0007199 | |
17.03.2017 01:30 | grayman | Note Added: 0008768 |