- Timestamp:
- 11/24/14 15:16:59 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.CodeEditor/3.3/CodeEditor.cs
r11436 r11571 157 157 InitializeComponent(); 158 158 159 160 var fontFamily = new FontFamily("Consolas"); 161 textEditor.Font = new Font(fontFamily, 10, FontStyle.Regular); 159 162 textEditor.ActiveTextAreaControl.TextEditorProperties.SupportReadOnlySegments = true; 160 163 … … 176 179 // if we made it this far, enable on-disk parsing cache 177 180 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) { 183 191 } 184 192 projectContent = new Dom.DefaultProjectContent(); … … 358 366 lastCompilationUnit = newCompilationUnit; 359 367 parseInformation.SetCompilationUnit(newCompilationUnit); 360 } catch { } 368 } 369 catch { } 361 370 } 362 371
Note: See TracChangeset
for help on using the changeset viewer.