Modify

Ticket #120 (closed bug: fixed)

Opened 10 years ago

Last modified 10 years ago

Map xml writing annoying in editor

Reported by: zenbitz Owned by: parpg
Priority: minor Milestone: Techdemo 1
Component: maps Version: trunk
Keywords: pappg_editor Cc:
Blocked By: Blocking:
Department:

Description

The current map writing methods in parpg_editor.py do not place \n between elements. This makes it difficult to edit the resulting .xml file by hand.

Please add/restore this functionality.

Attachments

savers.diff (866 bytes) - added by beliar 10 years ago.

Change History

Changed 10 years ago by beliar

comment:1 Changed 10 years ago by beliar

Hi,

i found a way to accomplish this. I have attached the diff file for the savers.py

comment:2 Changed 10 years ago by Kaydeth_parpg

(In [335]) Ticket #120. Patch by beliar and Kaydeth. Added some new lines and indentation to the map editor so the saved file is more readable and looks more like it used to when it was created by hand. refs #120

comment:3 Changed 10 years ago by kaydeth_parpg

Waiting for some feed back on the output before closing the ticket.

comment:4 Changed 10 years ago by kaydeth_parpg

  • Status changed from new to closed
  • Resolution set to fixed
View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.