コード例 #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);
 }