Пример #1
0
 public Sci_TextToFind(Sci_CharacterRange chrRange, string searchText)
 {
     _sciTextToFind.chrg = chrRange;
     _sciTextToFind.lpstrText = Marshal.StringToHGlobalAnsi(searchText);
 }
Пример #2
0
 public Sci_TextRange(Sci_CharacterRange chrRange, int stringCapacity)
 {
     _sciTextRange.chrg = chrRange;
     _sciTextRange.lpstrText = Marshal.AllocHGlobal(stringCapacity);
 }