Browse Source

fix #360: Current line highlighting always seen in preview of Highlighting Editor

pull/343/merge
Siegfried Pammer 12 years ago
parent
commit
c90905cd55
  1. 1
      src/AddIns/Debugger/Debugger.AddIn/Pads/AutoCompleteTextBox.cs
  2. 1
      src/AddIns/DisplayBindings/AvalonEdit.AddIn/Src/Options/HighlightingOptions.xaml.cs

1
src/AddIns/Debugger/Debugger.AddIn/Pads/AutoCompleteTextBox.cs

@ -86,6 +86,7 @@ namespace Debugger.AddIn.Pads.Controls @@ -86,6 +86,7 @@ namespace Debugger.AddIn.Pads.Controls
this.editor.ClearValue(TextEditor.FontFamilyProperty);
this.editor.ClearValue(TextEditor.FontSizeProperty);
this.editor.ShowLineNumbers = false;
this.editor.Options.HighlightCurrentLine = false;
this.editor.WordWrap = false;
this.editor.HorizontalScrollBarVisibility = ScrollBarVisibility.Hidden;
this.editor.VerticalScrollBarVisibility = ScrollBarVisibility.Hidden;

1
src/AddIns/DisplayBindings/AvalonEdit.AddIn/Src/Options/HighlightingOptions.xaml.cs

@ -596,6 +596,7 @@ namespace ICSharpCode.AvalonEdit.AddIn.Options @@ -596,6 +596,7 @@ namespace ICSharpCode.AvalonEdit.AddIn.Options
}
textEditor.Select(0, 0);
bracketHighlighter.SetHighlight(null);
textEditor.Options.HighlightCurrentLine = false;
item.ShowExample(textEditor.TextArea);
ITextMarker m = textMarkerService.TextMarkers.SingleOrDefault();
if (m != null && m.Tag != null) {

Loading…
Cancel
Save