00001
00002
00003 using namespace KJS;
00004
00005 namespace KJS {
00006
00007 static const char KateJSDocumentProtoTableStrings[] = {
00008 "\0"
00009 "commentMarker\0"
00010 "commentStart\0"
00011 "canBreakAt\0"
00012 "canComment\0"
00013 "commentEnd\0"
00014 "insertLine\0"
00015 "insertText\0"
00016 "lineLength\0"
00017 "removeLine\0"
00018 "removeText\0"
00019 "attribute\0"
00020 "editBegin\0"
00021 "textRange\0"
00022 "isInWord\0"
00023 "textFull\0"
00024 "textLine\0"
00025 "editEnd\0"
00026 "setText\0"
00027 "length\0"
00028 "clear\0"
00029 "lines\0"
00030 };
00031
00032
00033 static const struct HashEntry KateJSDocumentProtoTableEntries[] = {
00034 { 39, KateJSDocument::CanComment, DontDelete|Function, 2, 24 },
00035 { 136, KateJSDocument::Text, DontDelete|Function, 4, -1 },
00036 { 0, 0, 0, 0, -1 },
00037 { 61, KateJSDocument::InsertLine, DontDelete|Function, 2, -1 },
00038 { 105, KateJSDocument::RemoveText, DontDelete|Function, 4, 22 },
00039 { 164, KateJSDocument::TextLine, DontDelete|Function, 1, 21 },
00040 { 28, KateJSDocument::CanBreakAt, DontDelete|Function, 2, -1 },
00041 { 0, 0, 0, 0, -1 },
00042 { 173, KateJSDocument::EditEnd, DontDelete|Function, 0, -1 },
00043 { 0, 0, 0, 0, -1 },
00044 { 0, 0, 0, 0, -1 },
00045 { 72, KateJSDocument::InsertText, DontDelete|Function, 3, -1 },
00046 { 189, KateJSDocument::Length, DontDelete|Function, 0, -1 },
00047 { 0, 0, 0, 0, -1 },
00048 { 202, KateJSDocument::Lines, DontDelete|Function, 0, 27 },
00049 { 196, KateJSDocument::Clear, DontDelete|Function, 0, -1 },
00050 { 155, KateJSDocument::FullText, DontDelete|Function, 0, -1 },
00051 { 94, KateJSDocument::RemoveLine, DontDelete|Function, 1, 23 },
00052 { 181, KateJSDocument::SetText, DontDelete|Function, 1, -1 },
00053 { 0, 0, 0, 0, -1 },
00054 { 0, 0, 0, 0, -1 },
00055 { 83, KateJSDocument::LineLength, DontDelete|Function, 1, 26 },
00056 { 126, KateJSDocument::EditBegin, DontDelete|Function, 0, -1 },
00057 { 146, KateJSDocument::IsInWord, DontDelete|Function, 2, -1 },
00058 { 1, KateJSDocument::CommentMarker, DontDelete|Function, 1, 25 },
00059 { 15, KateJSDocument::CommentStart, DontDelete|Function, 1, -1 },
00060 { 50, KateJSDocument::CommentEnd, DontDelete|Function, 1, -1 },
00061 { 116, KateJSDocument::Attribute, DontDelete|Function, 2, -1 }
00062 };
00063
00064 const struct HashTable KateJSDocumentProtoTable = { 2, 28, KateJSDocumentProtoTableEntries, 21, KateJSDocumentProtoTableStrings};
00065
00066 }
00067
00068 using namespace KJS;
00069
00070 namespace KJS {
00071
00072 static const char KateJSDocumentTableStrings[] = {
00073 "\0"
00074 "highlightMode\0"
00075 "indentWidth\0"
00076 "mixedIndent\0"
00077 "spaceIndent\0"
00078 "indentMode\0"
00079 };
00080
00081
00082 static const struct HashEntry KateJSDocumentTableEntries[] = {
00083 { 39, KateJSDocument::SpaceIndent, DontDelete|ReadOnly, 0, -1 },
00084 { 0, 0, 0, 0, -1 },
00085 { 15, KateJSDocument::IndentWidth, DontDelete|ReadOnly, 0, -1 },
00086 { 1, KateJSDocument::HighlightMode, DontDelete|ReadOnly, 0, -1 },
00087 { 0, 0, 0, 0, -1 },
00088 { 51, KateJSDocument::IndentMode, DontDelete|ReadOnly, 0, 6 },
00089 { 27, KateJSDocument::MixedIndent, DontDelete|ReadOnly, 0, -1 }
00090 };
00091
00092 const struct HashTable KateJSDocumentTable = { 2, 7, KateJSDocumentTableEntries, 6, KateJSDocumentTableStrings};
00093
00094 }
00095
00096 using namespace KJS;
00097
00098 namespace KJS {
00099
00100 static const char KateJSViewProtoTableStrings[] = {
00101 "\0"
00102 "setCursorPositionReal\0"
00103 "removeSelectedText\0"
00104 "setCursorPosition\0"
00105 "cursorColumnReal\0"
00106 "clearSelection\0"
00107 "cursorColumn\0"
00108 "hasSelection\0"
00109 "setSelection\0"
00110 "cursorLine\0"
00111 "selectAll\0"
00112 "selection\0"
00113 };
00114
00115
00116 static const struct HashEntry KateJSViewProtoTableEntries[] = {
00117 { 60, KateJSView::CursorColumnReal, DontDelete|Function, 0, 14 },
00118 { 0, 0, 0, 0, -1 },
00119 { 0, 0, 0, 0, -1 },
00120 { 42, KateJSView::SetCursorPosition, DontDelete|Function, 2, -1 },
00121 { 92, KateJSView::CursorColumn, DontDelete|Function, 0, 15 },
00122 { 0, 0, 0, 0, -1 },
00123 { 118, KateJSView::SetSelection, DontDelete|Function, 4, -1 },
00124 { 0, 0, 0, 0, -1 },
00125 { 23, KateJSView::RemoveSelectedText, DontDelete|Function, 0, -1 },
00126 { 0, 0, 0, 0, -1 },
00127 { 0, 0, 0, 0, -1 },
00128 { 142, KateJSView::SelectAll, DontDelete|Function, 0, 16 },
00129 { 131, KateJSView::CursorLine, DontDelete|Function, 0, -1 },
00130 { 1, KateJSView::SetCursorPositionReal, DontDelete|Function, 2, -1 },
00131 { 152, KateJSView::Selection, DontDelete|Function, 0, -1 },
00132 { 105, KateJSView::HasSelection, DontDelete|Function, 0, -1 },
00133 { 77, KateJSView::ClearSelection, DontDelete|Function, 0, -1 }
00134 };
00135
00136 const struct HashTable KateJSViewProtoTable = { 2, 17, KateJSViewProtoTableEntries, 14, KateJSViewProtoTableStrings};
00137
00138 }
00139
00140 using namespace KJS;
00141
00142 namespace KJS {
00143
00144 static const char KateJSViewTableStrings[] = {
00145 "\0"
00146 "selectionStartColumn\0"
00147 "selectionEndColumn\0"
00148 "selectionStartLine\0"
00149 "selectionEndLine\0"
00150 };
00151
00152
00153 static const struct HashEntry KateJSViewTableEntries[] = {
00154 { 0, 0, 0, 0, -1 },
00155 { 0, 0, 0, 0, -1 },
00156 { 60, KateJSView::SelEndLine, DontDelete|ReadOnly, 0, 6 },
00157 { 0, 0, 0, 0, -1 },
00158 { 41, KateJSView::SelStartLine, DontDelete|ReadOnly, 0, 5 },
00159 { 1, KateJSView::SelStartCol, DontDelete|ReadOnly, 0, -1 },
00160 { 22, KateJSView::SelEndCol, DontDelete|ReadOnly, 0, -1 }
00161 };
00162
00163 const struct HashTable KateJSViewTable = { 2, 7, KateJSViewTableEntries, 5, KateJSViewTableStrings};
00164
00165 }
00166
00167 using namespace KJS;
00168
00169 namespace KJS {
00170
00171 static const char KateJSIndenterProtoTableStrings[] = {
00172 "\0"
00173 "Dummy\0"
00174 };
00175
00176
00177 static const struct HashEntry KateJSIndenterProtoTableEntries[] = {
00178 { 1, KateJSIndenter::Dummy, DontDelete, 0, -1 }
00179 };
00180
00181 const struct HashTable KateJSIndenterProtoTable = { 2, 1, KateJSIndenterProtoTableEntries, 1, KateJSIndenterProtoTableStrings};
00182
00183 }
00184
00185 using namespace KJS;
00186
00187 namespace KJS {
00188
00189 static const char KateJSIndenterTableStrings[] = {
00190 "\0"
00191 "onnewline\0"
00192 "onchar\0"
00193 "online\0"
00194 };
00195
00196
00197 static const struct HashEntry KateJSIndenterTableEntries[] = {
00198 { 1, KateJSIndenter::OnNewline, DontDelete, 0, 3 },
00199 { 0, 0, 0, 0, -1 },
00200 { 11, KateJSIndenter::OnChar, DontDelete, 0, -1 },
00201 { 18, KateJSIndenter::OnLine, DontDelete, 0, -1 }
00202 };
00203
00204 const struct HashTable KateJSIndenterTable = { 2, 4, KateJSIndenterTableEntries, 3, KateJSIndenterTableStrings};
00205
00206 }