public Sci_TextToFind(Sci_CharacterRange chrRange, string searchText) { _sciTextToFind.chrg = chrRange; _sciTextToFind.lpstrText = Marshal.StringToHGlobalAnsi(searchText); }
public Sci_TextRange(Sci_CharacterRange chrRange, int stringCapacity) { _sciTextRange.chrg = chrRange; _sciTextRange.lpstrText = Marshal.AllocHGlobal(stringCapacity); }