Revision: 7049
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7049&view=rev
Author:   milek_pl
Date:     2012-05-24 13:54:16 +0000 (Thu, 24 May 2012)
Log Message:
-----------
add a comment (not yet anything useful)

Modified Paths:
--------------
    trunk/JLanguageTool/src/java/org/languagetool/gui/Main.java

Modified: trunk/JLanguageTool/src/java/org/languagetool/gui/Main.java
===================================================================
--- trunk/JLanguageTool/src/java/org/languagetool/gui/Main.java 2012-05-24 
11:17:11 UTC (rev 7048)
+++ trunk/JLanguageTool/src/java/org/languagetool/gui/Main.java 2012-05-24 
13:54:16 UTC (rev 7049)
@@ -556,6 +556,15 @@
           .getToPos(), text);
       sb.append("<b>" + messages.getString("errorContext") + "</b> " + 
context);
       sb.append("<br>\n");
+            
+      /* too much hassle getting hyperlinks work in JTextPane
+       * especially when we want to replace it soon with sth nicer... 
+      if (match.getRule().getUrl() != null) {
+         sb.append("<a href=\"");
+         sb.append(match.getRule().getUrl().toString());
+         sb.append("\">More info...</a><br>\n");
+      }
+      */
       i++;
     }
     final long endTime = System.currentTimeMillis();

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to