Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Globalizer is messing up XAML formatting

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Globalizer Support
View previous topic :: View next topic  
Author Message
lahi



Joined: 02 Feb 2010
Posts: 4

PostPosted: Fri Oct 27, 2017 8:55 am    Post subject: Globalizer is messing up XAML formatting Reply with quote

The tool is removing the line break after reformating a XAML file.
How to tell globalizer to not reformat the first part of XAML files?

left -> before scan and rebuild a project
right -> after rebuilding a project with localized resources

Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Nov 01, 2017 9:30 am    Post subject: Reply with quote

Globalizer uses the standard Microsoft XmlDocument class to read and modify the XAML. Unfortunately this only has limited options for formatting. You can set these options by selecting the root target in your workspace and then in the Settings window select the WPF tab. This has XML Formatting options including an option to "Write attributes on new lines" - which is probably the one you want to turn on.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Globalizer Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group