phungus420
Deity
- Joined
- Mar 1, 2003
- Messages
- 6,296
Notepad++ automatically indents when you cut and paste based on the line above. This is on the most part helpfull, but can lead to an irritating extra indentation when you cut and paste entries in the XML. The way I get around this is to cut and past from the line above, I mean this:a) It seems that a rarely some of my lines will be indented funny. Its only the </UnitArtInfo> or similar headers. I know you said white space doesnt effect xml, but its annoying. Regular notebook did it to me too.
Code:
<FreePromotionUnitCombats/>
</TraitInfo>[b]This is where I make my cut[/b]
<TraitInfo>
<Type>TRAIT_ENLIGHTENED</Type>
<Description>TXT_KEY_TRAIT_ENLIGHTENED</Description>
<ShortDescription>TXT_KEY_TRAIT_ENLIGHTENED_SHORT</ShortDescription>
<iHealth>0</iHealth>
<iHappiness>0</iHappiness>
b) Is Notebook++ what I need to edit python?
Yep, Notepad++ is what you use to edit python, and C++ source files. It's good for any code files actually. Notepad++ is infinitely better then regular old notepad, you'll be happy with the switch.