Conversation
* app:RegisterDataStyleExporter(style, funcs) -- allows registering a new Exporter of a given style * app:ExportStylizedData(window, style) -- allows performing an Export against a given ATT Window using a given style
…xport style * Debugger 'raw export' now simply does a 'raw' style Export against itself
…lobal visiblity logic during Update passes
…trip leading newlines
…ecursively for improved data export styling
…ability and handling of useful fields
|
Something doesn't look right for the object "Heavy Silk Bandage" in the readable format. |
|
Also "g" doesn't seem to be indenting in raw mode |
|
The header declaration needs to be where it was for instance map data as it does not return mapInfo in Classic. |
Hmmm that's weird. I never saw anything like that, I'll have to test on Treasures. |
Hmmm, will have to fix it differently then because the current map was always being double-nested, so that's not possible to simply revert |
@DFortun81 Ok this should work as before for the situation you mentioned, while also not duping the header in regular Maps I'll test more later with what's going on with what you're seeing for indentation, there was an issue where headers without a constant were not returning their id properly, so maybe that was part of the cause. |
|
@DFortun81 Would you like to re-test on latest if there's any discrepancies you can find? The formatting and indentation look accurate from my tests. Your "Heavy Silk Bandage" example might be an issue with pre-existing Debugger data, since the 'basename' is saved based on the visible Tooltip when looting an object, so it's very easy to begin looting but then cursor over something else and mess up the |
Instead of export tech being specific to the Debugger window, I would like it to be a reusable public API and allow alternate styles to be configured for custom use.
Currently, the 'raw' and 'readable' exporters from Debugger are now available for use. I plan to add other base styles for export and have further adjustments to make so that DLO groups are handled properly when exporting.