Inheritance: ScintillaHelperBase
Ejemplo n.º 1
0
        internal FindReplace(Scintilla scintilla)
            : base(scintilla)
        {
            _marker = scintilla.Markers[10];
            _marker.SetSymbolInternal(MarkerSymbol.Arrows);
            _indicator = scintilla.Indicators[16];
            _indicator.Color = Color.Purple;
            _indicator.Style = IndicatorStyle.RoundBox;

            _window = Windows.ScintillaFindReplace;
            _window.Scintilla = scintilla;

            _incrementalSearcher = new IncrementalSearcher();
            _incrementalSearcher.Scintilla = scintilla;
            _incrementalSearcher.Visible = false;
            scintilla.Controls.Add(_incrementalSearcher);
        }
Ejemplo n.º 2
0
        internal FindReplace(Scintilla scintilla)
            : base(scintilla)
        {
            this._marker = scintilla.Markers[10];
            this._marker.SetSymbolInternal(MarkerSymbol.Arrows);
            this._indicator = scintilla.Indicators[16];
            this._indicator.Color = Color.Purple;
            this._indicator.Style = IndicatorStyle.RoundBox;

            this._window = new FindReplaceDialog
            {
                Scintilla = scintilla
            };

            this._incrementalSearcher = new IncrementalSearcher
            {
                Scintilla = scintilla,
                Visible = false
            };
            scintilla.Controls.Add(this._incrementalSearcher);
        }
Ejemplo n.º 3
0
 public Line FindPreviousMarker(int line, Marker marker)
 {
     return FindPreviousMarker(line, (uint)marker.Number);
 }
Ejemplo n.º 4
0
 public Line FindPreviousMarker(Marker marker)
 {
     return this.FindPreviousMarker(this.PrevLine(), (uint)marker.Number);
 }
Ejemplo n.º 5
0
 public Line FindNextMarker(int line, Marker marker)
 {
     return FindNextMarker(line, (uint)marker.Number);
 }
Ejemplo n.º 6
0
 public Line FindNextMarker(Marker marker)
 {
     return this.FindNextMarker(this.NextLine(), (uint)marker.Number);
 }
Ejemplo n.º 7
0
 public void DeleteInstance(int line, Marker marker)
 {
     DeleteInstance(line, marker.Number);
 }
Ejemplo n.º 8
0
 public void DeleteAll(Marker marker)
 {
     NativeScintilla.MarkerDeleteAll(marker.Number);
 }
Ejemplo n.º 9
0
 public Line FindPreviousMarker(Marker marker)
 {
     return FindPreviousMarker(marker.Mask);
 }
Ejemplo n.º 10
0
 public Line FindNextMarker(Marker marker)
 {
     return FindNextMarker(marker.Mask);
 }
Ejemplo n.º 11
0
 public Line DeleteMarker(Marker marker)
 {
     NativeScintilla.MarkerDelete(this._number, marker.Number);
     return this;
 }
Ejemplo n.º 12
0
 public MarkerInstance AddMarker(Marker marker)
 {
     return new MarkerInstance(Scintilla, marker, NativeScintilla.MarkerAdd(this._number, marker.Number));
 }