Ignore:
Timestamp:
09/17/11 02:07:47 (13 years ago)
Author:
adrpo
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt.ui/src/org/modelica/mdt/ui/hover/AbstractModelicaEditorTextHover.java

    r970 r972  
    251251            try
    252252            {
    253                  ICompilerResult res = CompilerProxy.getClassString(className);
    254                  String info = res.getFirstResult().trim();
     253                ICompilerResult res = CompilerProxy.getClassString(className);
     254                String info = res.getFirstResult().trim();
    255255                if (info.startsWith("\"")) info = info.substring(1);
    256256                if (info.endsWith("\"")) info = info.substring(0, info.length()-1);
    257257                info = info.trim();
    258258               
     259                // un-escape the Modelica string
    259260                info = info.replace("\\\"", "\"");
    260261                info = info.replace("\\\\", "\\");
Note: See TracChangeset for help on using the changeset viewer.