Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/22/10 00:44:01 (14 years ago)
Author:
swagner
Message:

Sorted usings and removed unused usings in entire solution (#1094)

Location:
trunk/sources/HeuristicLab.CodeEditor/3.3
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CodeEditor/3.3/CodeCompletionData.cs

    r2659 r4068  
    88 */
    99
    10 using System;
     10using System.Collections.Generic;
    1111using System.IO;
     12using System.Linq;
    1213using System.Text;
    1314using System.Xml;
    14 using System.Linq;
    15 
    1615using ICSharpCode.SharpDevelop.Dom;
    1716using ICSharpCode.SharpDevelop.Dom.CSharp;
    18 using ICSharpCode.SharpDevelop.Dom.VBNet;
    1917using ICSharpCode.TextEditor.Gui.CompletionWindow;
    20 using System.Collections.Generic;
    2118
    2219namespace HeuristicLab.CodeEditor {
     
    158155        }
    159156        return b.ToString();
    160       } catch (XmlException) {
     157      }
     158      catch (XmlException) {
    161159        return xmlDoc;
    162160      }
  • trunk/sources/HeuristicLab.CodeEditor/3.3/CodeCompletionKeyHandler.cs

    r2659 r4068  
    2727
    2828using System;
    29 using System.Collections.Generic;
    30 using System.Drawing;
    31 using System.Windows.Forms;
    32 using System.IO;
    33 using System.Threading;
    3429
    3530using ICSharpCode.TextEditor;
    36 using ICSharpCode.TextEditor.Gui;
    3731using ICSharpCode.TextEditor.Gui.CompletionWindow;
    3832
  • trunk/sources/HeuristicLab.CodeEditor/3.3/CodeCompletionProvider.cs

    r2659 r4068  
    2929using System.Collections;
    3030using System.Collections.Generic;
    31 using System.Text;
    3231using System.Windows.Forms;
    3332using ICSharpCode.TextEditor;
  • trunk/sources/HeuristicLab.CodeEditor/3.3/CodeEditor.Designer.cs

    r2719 r4068  
    1 using System;
    2 namespace HeuristicLab.CodeEditor {
     1namespace HeuristicLab.CodeEditor {
    32  public partial class CodeEditor : System.Windows.Forms.UserControl {
    43    /// <summary>
  • trunk/sources/HeuristicLab.CodeEditor/3.3/CodeEditor.cs

    r2765 r4068  
    2727
    2828using System;
    29 using System.Linq;
     29using System.CodeDom.Compiler;
    3030using System.Collections.Generic;
     31using System.Diagnostics;
    3132using System.Drawing;
     33using System.IO;
     34using System.Reflection;
     35using System.Threading;
    3236using System.Windows.Forms;
    33 using System.IO;
    34 using System.Threading;
    3537using HeuristicLab.Common.Resources;
    36 
     38using ICSharpCode.TextEditor;
     39using ICSharpCode.TextEditor.Document;
     40using Dom = ICSharpCode.SharpDevelop.Dom;
    3741using NRefactory = ICSharpCode.NRefactory;
    38 using Dom = ICSharpCode.SharpDevelop.Dom;
    39 using ICSharpCode.TextEditor.Document;
    40 using System.CodeDom.Compiler;
    41 using ICSharpCode.TextEditor;
    42 using System.Reflection;
    43 using System.Diagnostics;
    4442
    4543namespace HeuristicLab.CodeEditor {
     
    166164        // if we made it this far, enable on-disk parsing cache
    167165        projectContentRegistry.ActivatePersistence(persistencePath);
    168       } catch (NotSupportedException) {
    169       } catch (IOException) {
    170       } catch (System.Security.SecurityException) {
    171       } catch (UnauthorizedAccessException) {
    172       } catch (ArgumentException) {
     166      }
     167      catch (NotSupportedException) {
     168      }
     169      catch (IOException) {
     170      }
     171      catch (System.Security.SecurityException) {
     172      }
     173      catch (UnauthorizedAccessException) {
     174      }
     175      catch (ArgumentException) {
    173176      }
    174177      projectContent = new Dom.DefaultProjectContent();
     
    347350        lastCompilationUnit = newCompilationUnit;
    348351        parseInformation.SetCompilationUnit(newCompilationUnit);
    349       } catch { }
     352      }
     353      catch { }
    350354    }
    351355
  • trunk/sources/HeuristicLab.CodeEditor/3.3/CodeViewer.cs

    r3742 r4068  
    2020#endregion
    2121using System;
    22 using System.Collections.Generic;
    23 using System.ComponentModel;
    24 using System.Data;
    25 using System.Drawing;
    26 using System.Linq;
    27 using System.Text;
    2822using System.Windows.Forms;
    2923
     
    3731    }
    3832
    39     public CodeViewer(string code) : this() {
     33    public CodeViewer(string code)
     34      : this() {
    4035      textEditorControl1.Text = code;
    4136    }
  • trunk/sources/HeuristicLab.CodeEditor/3.3/ErrorBookmark.cs

    r3742 r4068  
    1919 */
    2020#endregion
    21 using System;
    22 using System.Collections.Generic;
    23 using System.Linq;
    24 using System.Text;
    2521using System.Drawing;
     22using ICSharpCode.TextEditor;
    2623using ICSharpCode.TextEditor.Document;
    27 using ICSharpCode.TextEditor;
    2824
    2925namespace HeuristicLab.CodeEditor {
     
    3632    }
    3733
    38     public override void Draw(IconBarMargin margin, System.Drawing.Graphics g, System.Drawing.Point p) {     
     34    public override void Draw(IconBarMargin margin, System.Drawing.Graphics g, System.Drawing.Point p) {
    3935      int delta = margin.TextArea.TextView.FontHeight / 4;
    40       Rectangle rect = new Rectangle(
     36      Rectangle rect = new Rectangle(
    4137        2,
    4238        p.Y + delta,
  • trunk/sources/HeuristicLab.CodeEditor/3.3/ToolTipProvider.cs

    r2659 r4068  
    2626// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2727
    28 using System;
    2928using System.Text;
    3029using ICSharpCode.SharpDevelop.Dom;
    3130using ICSharpCode.SharpDevelop.Dom.CSharp;
    32 using ICSharpCode.SharpDevelop.Dom.VBNet;
     31using NRefactoryResolver = ICSharpCode.SharpDevelop.Dom.NRefactoryResolver.NRefactoryResolver;
    3332using TextEditor = ICSharpCode.TextEditor;
    34 using NRefactoryResolver = ICSharpCode.SharpDevelop.Dom.NRefactoryResolver.NRefactoryResolver;
    3533
    3634namespace HeuristicLab.CodeEditor {
     
    5250      if (e.InDocument && !e.ToolTipShown) {
    5351        IExpressionFinder expressionFinder;
    54         expressionFinder = new CSharpExpressionFinder(codeEditor.parseInformation);       
     52        expressionFinder = new CSharpExpressionFinder(codeEditor.parseInformation);
    5553        ExpressionResult expression = expressionFinder.FindFullExpression(
    5654          editor.Text,
Note: See TracChangeset for help on using the changeset viewer.