Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/24/14 15:16:59 (10 years ago)
Author:
bburlacu
Message:

#2276: Commit initial version of IDataset interface and code refactoring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.CodeEditor/3.3/CodeEditor.cs

    r11436 r11571  
    157157      InitializeComponent();
    158158
     159
     160      var fontFamily = new FontFamily("Consolas");
     161      textEditor.Font = new Font(fontFamily, 10, FontStyle.Regular);
    159162      textEditor.ActiveTextAreaControl.TextEditorProperties.SupportReadOnlySegments = true;
    160163
     
    176179        // if we made it this far, enable on-disk parsing cache
    177180        projectContentRegistry.ActivatePersistence(persistencePath);
    178       } catch (NotSupportedException) {
    179       } catch (IOException) {
    180       } catch (System.Security.SecurityException) {
    181       } catch (UnauthorizedAccessException) {
    182       } catch (ArgumentException) {
     181      }
     182      catch (NotSupportedException) {
     183      }
     184      catch (IOException) {
     185      }
     186      catch (System.Security.SecurityException) {
     187      }
     188      catch (UnauthorizedAccessException) {
     189      }
     190      catch (ArgumentException) {
    183191      }
    184192      projectContent = new Dom.DefaultProjectContent();
     
    358366        lastCompilationUnit = newCompilationUnit;
    359367        parseInformation.SetCompilationUnit(newCompilationUnit);
    360       } catch { }
     368      }
     369      catch { }
    361370    }
    362371
Note: See TracChangeset for help on using the changeset viewer.