@@ -38,21 +38,21 @@ public struct ScNotificationHeader
38
38
public struct ScNotification
39
39
{
40
40
public ScNotificationHeader Header ;
41
- private int position ; /* SCN_STYLENEEDED, SCN_DOUBLECLICK, SCN_MODIFIED, SCN_MARGINCLICK, SCN_NEEDSHOWN, SCN_DWELLSTART, SCN_DWELLEND, SCN_CALLTIPCLICK, SCN_HOTSPOTCLICK, SCN_HOTSPOTDOUBLECLICK, SCN_HOTSPOTRELEASECLICK, SCN_INDICATORCLICK, SCN_INDICATORRELEASE, SCN_USERLISTSELECTION, SCN_AUTOCSELECTION */
41
+ private IntPtr position ; /* SCN_STYLENEEDED, SCN_DOUBLECLICK, SCN_MODIFIED, SCN_MARGINCLICK, SCN_NEEDSHOWN, SCN_DWELLSTART, SCN_DWELLEND, SCN_CALLTIPCLICK, SCN_HOTSPOTCLICK, SCN_HOTSPOTDOUBLECLICK, SCN_HOTSPOTRELEASECLICK, SCN_INDICATORCLICK, SCN_INDICATORRELEASE, SCN_USERLISTSELECTION, SCN_AUTOCSELECTION */
42
42
public int character ; /* SCN_CHARADDED, SCN_KEY, SCN_AUTOCCOMPLETE, SCN_AUTOCSELECTION, SCN_USERLISTSELECTION */
43
43
public int Mmodifiers ; /* SCN_KEY, SCN_DOUBLECLICK, SCN_HOTSPOTCLICK, SCN_HOTSPOTDOUBLECLICK, SCN_HOTSPOTRELEASECLICK, SCN_INDICATORCLICK, SCN_INDICATORRELEASE */
44
44
public int ModificationType ; /* SCN_MODIFIED - modification types are name "SC_MOD_*" */
45
45
public IntPtr TextPointer ; /* SCN_MODIFIED, SCN_USERLISTSELECTION, SCN_AUTOCSELECTION, SCN_URIDROPPED */
46
- public int Length ; /* SCN_MODIFIED */
47
- public int LinesAdded ; /* SCN_MODIFIED */
46
+ public IntPtr Length ; /* SCN_MODIFIED */
47
+ public IntPtr LinesAdded ; /* SCN_MODIFIED */
48
48
public int Message ; /* SCN_MACRORECORD */
49
49
public IntPtr wParam ; /* SCN_MACRORECORD */
50
50
public IntPtr lParam ; /* SCN_MACRORECORD */
51
51
52
52
/// <summary>
53
53
/// 0-based index
54
54
/// </summary>
55
- public int LineNumber ; /* SCN_MODIFIED */
55
+ public IntPtr LineNumber ; /* SCN_MODIFIED */
56
56
public int FoldLevelNow ; /* SCN_MODIFIED */
57
57
public int FoldLevelPrev ; /* SCN_MODIFIED */
58
58
public int Margin ; /* SCN_MARGINCLICK */
@@ -63,6 +63,7 @@ public struct ScNotification
63
63
public int AnnotationLinesAdded ; /* SC_MOD_CHANGEANNOTATION */
64
64
public int Updated ; /* SCN_UPDATEUI */
65
65
public int ListCompletionMethod ; /* SCN_AUTOCSELECTION, SCN_AUTOCCOMPLETED, SCN_USERLISTSELECTION */
66
+ public int CharacterSource ; /* SCN_CHARADDED */
66
67
67
68
/// <summary>
68
69
/// SCN_STYLENEEDED, SCN_DOUBLECLICK, SCN_MODIFIED, SCN_MARGINCLICK, SCN_NEEDSHOWN, SCN_DWELLSTART, SCN_DWELLEND, SCN_CALLTIPCLICK, SCN_HOTSPOTCLICK, SCN_HOTSPOTDOUBLECLICK, SCN_HOTSPOTRELEASECLICK, SCN_INDICATORCLICK, SCN_INDICATORRELEASE, SCN_USERLISTSELECTION, SCN_AUTOCSELECTION
@@ -73,7 +74,7 @@ public struct ScNotification
73
74
/// Character of the notification - eg keydown
74
75
/// SCN_CHARADDED, SCN_KEY, SCN_AUTOCCOMPLETE, SCN_AUTOCSELECTION, SCN_USERLISTSELECTION
75
76
/// </summary>
76
- public char Character { get { return ( char ) character ; } }
77
+ public char Character { get { return ( char ) character ; } }
77
78
}
78
79
79
80
[ Flags ]
0 commit comments