Revision: 10478
          http://sourceforge.net/p/languagetool/code/10478
Author:   dnaber
Date:     2013-07-09 14:29:04 +0000 (Tue, 09 Jul 2013)
Log Message:
-----------
improve indentation (still not perfect though, e.g. for 'marker')

Modified Paths:
--------------
    
trunk/languagetool/languagetool-core/src/main/java/org/languagetool/rules/patterns/PatternRuleXmlCreator.java

Modified: 
trunk/languagetool/languagetool-core/src/main/java/org/languagetool/rules/patterns/PatternRuleXmlCreator.java
===================================================================
--- 
trunk/languagetool/languagetool-core/src/main/java/org/languagetool/rules/patterns/PatternRuleXmlCreator.java
       2013-07-09 14:03:44 UTC (rev 10477)
+++ 
trunk/languagetool/languagetool-core/src/main/java/org/languagetool/rules/patterns/PatternRuleXmlCreator.java
       2013-07-09 14:29:04 UTC (rev 10478)
@@ -117,6 +117,9 @@
     // introduces whitespace e.g. in the <suggestion> elements, breaking rules:
     final String xml = sw.toString()
       .replace("<token", "\n    <token")
+      .replace("<and", "\n    <and")
+      .replace("</and>", "\n    </and>")
+      .replace("<phraseref", "\n    <phraseref")
       .replace("<pattern", "\n  <pattern")
       .replace("</pattern", "\n  </pattern")
       .replace("</rule>", "\n</rule>")

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to