/dports/x11-toolkits/ntk/ntk/fluid/ |
H A D | CodeEditor.cxx | 264 void CodeEditor::style_update(int pos, int nInserted, int nDeleted, in style_update() argument 276 if (nInserted == 0 && nDeleted == 0) { in style_update() 282 if (nInserted > 0) { in style_update() 284 style = new char[nInserted + 1]; in style_update() 285 memset(style, 'A', nInserted); in style_update() 286 style[nInserted] = '\0'; in style_update() 297 editor->mStyleBuffer->select(pos, pos + nInserted - nDeleted); in style_update() 305 end = editor->mBuffer->line_end(pos + nInserted); in style_update()
|
/dports/math/giacxcas/fltk-1.3.0/fluid/ |
H A D | CodeEditor.cxx | 264 void CodeEditor::style_update(int pos, int nInserted, int nDeleted, in style_update() argument 276 if (nInserted == 0 && nDeleted == 0) { in style_update() 282 if (nInserted > 0) { in style_update() 284 style = new char[nInserted + 1]; in style_update() 285 memset(style, 'A', nInserted); in style_update() 286 style[nInserted] = '\0'; in style_update() 297 editor->mStyleBuffer->select(pos, pos + nInserted - nDeleted); in style_update() 305 end = editor->mBuffer->line_end(pos + nInserted); in style_update()
|
/dports/x11-toolkits/fltk/fltk-1.3.8/fluid/ |
H A D | CodeEditor.cxx | 269 void CodeEditor::style_update(int pos, int nInserted, int nDeleted, in style_update() argument 281 if (nInserted == 0 && nDeleted == 0) { in style_update() 287 if (nInserted > 0) { in style_update() 289 style = new char[nInserted + 1]; in style_update() 290 memset(style, 'A', nInserted); in style_update() 291 style[nInserted] = '\0'; in style_update() 302 editor->mStyleBuffer->select(pos, pos + nInserted - nDeleted); in style_update() 318 end = editor->mBuffer->line_end(pos + nInserted); in style_update()
|
/dports/databases/p5-Mango/Mango-1.30/t/ |
H A D | bulk.t | 19 is $results->{nInserted}, 0, 'no inserts'; 40 is $result->{nInserted}, 0, 'no inserts'; 57 is $results->{nInserted}, 1, 'one insert'; 83 is $result->{nInserted}, 1, 'one insert'; 97 is $results->{nInserted}, 3, 'three inserts'; 113 is $results->{nInserted}, 1001, 'over one thousand inserts'; 121 is $results->{nInserted}, 5, 'five inserts'; 145 is $result->{nInserted}, 1, 'one insert';
|
/dports/editors/nedit/nedit-5.7/source/ |
H A D | undo.c | 71 static int determineUndoType(int nInserted, int nDeleted); 185 void SaveUndoInformation(WindowInfo *window, int pos, int nInserted, in SaveUndoInformation() argument 201 newType = determineUndoType(nInserted, nDeleted); in SaveUndoInformation() 260 undo->endPos = pos + nInserted; in SaveUndoInformation() 459 static int determineUndoType(int nInserted, int nDeleted) in determineUndoType() argument 464 textInserted = (nInserted > 0); in determineUndoType() 468 if (nInserted == 1) in determineUndoType() 474 if (nInserted == 1) in determineUndoType()
|
H A D | textBuf.c | 82 int nInserted); 84 int nInserted); 339 int nInserted; in BufInsert() local 361 int nInserted = strlen(text); in BufReplace() local 457 *charsInserted = nInserted; in BufInsertCol() 491 *charsInserted = nInserted; in BufOverlayRect() 571 int nInserted; in BufRemoveRect() local 1594 *nInserted = outPtr - outStr; in insertCol() 1719 *nInserted = outPtr - outStr; in overlayRect() 2241 int nInserted) in updateSelections() argument [all …]
|
H A D | selection.c | 83 static void maintainSelection(selection *sel, int pos, int nInserted, 85 static void maintainPosition(int *position, int modPos, int nInserted, 648 void UpdateMarkTable(WindowInfo *window, int pos, int nInserted, in UpdateMarkTable() argument 654 maintainSelection(&window->markTable[i].sel, pos, nInserted, in UpdateMarkTable() 656 maintainPosition(&window->markTable[i].cursorPos, pos, nInserted, in UpdateMarkTable() 665 static void maintainSelection(selection *sel, int pos, int nInserted, in maintainSelection() argument 670 maintainPosition(&sel->start, pos, nInserted, nDeleted); in maintainSelection() 671 maintainPosition(&sel->end, pos, nInserted, nDeleted); in maintainSelection() 680 static void maintainPosition(int *position, int modPos, int nInserted, in maintainPosition() argument 686 *position += nInserted - nDeleted; in maintainPosition()
|
/dports/x11/virtualgl/virtualgl-3.0/server/fltk/src/ |
H A D | Fl_Text_Buffer.cxx | 250 int nInserted; in insert() local 260 nInserted = insert_( pos, s ); in insert() 261 mCursorPosHint = pos + nInserted; in insert() 271 int nInserted; in replace() local 282 nInserted = insert_( start, s ); in replace() 417 * charsInserted = nInserted; in insert_column() 446 * charsInserted = nInserted; in overlay_rectangular() 518 int nInserted; in remove_rectangular() local 1516 *nInserted = outPtr - outStr; in insert_column_() 1643 *nInserted = outPtr - outStr; in overlay_rectangular_() [all …]
|
/dports/comms/flmsg/flmsg-4.0.19/src/include/ |
H A D | Fl_Text_Buffer_mod_1_1.H | 44 void update(int pos, int nDeleted, int nInserted); 66 typedef void (*Fl_Text_Modify_Cb)(int pos, int nInserted, int nDeleted, 193 void call_modify_callbacks(int pos, int nDeleted, int nInserted, 204 int* nDeleted, int* nInserted, int* endPos); 208 int* nInserted, int* endPos); 223 void update_selections(int pos, int nDeleted, int nInserted);
|
H A D | Fl_Text_Buffer_mod_1_3.H | 98 void update(int pos, int nDeleted, int nInserted); 147 typedef void (*Fl_Text_Modify_Cb)(int pos, int nInserted, int nDeleted, 689 void call_modify_callbacks(int pos, int nDeleted, int nInserted, 748 void update_selections(int pos, int nDeleted, int nInserted);
|
/dports/x11/virtualgl/virtualgl-3.0/server/fltk/FL/ |
H A D | Fl_Text_Buffer.H | 45 void update(int pos, int nDeleted, int nInserted); 67 typedef void (*Fl_Text_Modify_Cb)(int pos, int nInserted, int nDeleted, 194 void call_modify_callbacks(int pos, int nDeleted, int nInserted, 205 int* nDeleted, int* nInserted, int* endPos); 209 int* nInserted, int* endPos); 224 void update_selections(int pos, int nDeleted, int nInserted);
|
/dports/math/giacxcas/fltk-1.3.0/test/ |
H A D | editor.cxx | 336 int nInserted, // I - Number of inserted chars in style_update() argument 349 if (nInserted == 0 && nDeleted == 0) { in style_update() 355 if (nInserted > 0) { in style_update() 357 style = new char[nInserted + 1]; in style_update() 358 memset(style, 'A', nInserted); in style_update() 359 style[nInserted] = '\0'; in style_update() 370 stylebuf->select(pos, pos + nInserted - nDeleted); in style_update() 379 end = textbuf->line_end(pos + nInserted); in style_update() 575 void changed_cb(int, int nInserted, int nDeleted,int, const char*, void* v) { in changed_cb() argument 576 if ((nInserted || nDeleted) && !loading) changed = 1; in changed_cb()
|
/dports/x11-toolkits/ntk/ntk/test/ |
H A D | editor.cxx | 336 int nInserted, // I - Number of inserted chars in style_update() argument 349 if (nInserted == 0 && nDeleted == 0) { in style_update() 355 if (nInserted > 0) { in style_update() 357 style = new char[nInserted + 1]; in style_update() 358 memset(style, 'A', nInserted); in style_update() 359 style[nInserted] = '\0'; in style_update() 370 stylebuf->select(pos, pos + nInserted - nDeleted); in style_update() 379 end = textbuf->line_end(pos + nInserted); in style_update() 575 void changed_cb(int, int nInserted, int nDeleted,int, const char*, void* v) { in changed_cb() argument 576 if ((nInserted || nDeleted) && !loading) changed = 1; in changed_cb()
|
/dports/comms/flmsg/flmsg-4.0.19/src/widgets/ |
H A D | Fl_Text_Buffer_mod_1_1.cxx | 249 int nInserted; in insert() local 259 nInserted = insert_( pos, s ); in insert() 260 mCursorPosHint = pos + nInserted; in insert() 270 int nInserted; in replace() local 282 nInserted = insert_( start, s ); in replace() 417 * charsInserted = nInserted; in insert_column() 446 * charsInserted = nInserted; in overlay_rectangular() 518 int nInserted; in remove_rectangular() local 1516 *nInserted = outPtr - outStr; in insert_column_() 1585 int *nDeleted, int *nInserted, in overlay_rectangular_() argument [all …]
|
H A D | Fl_Text_Buffer_mod_1_3.cxx | 291 int nInserted = insert_(pos, text); in insert() local 292 mCursorPosHint = pos + nInserted; in insert() 319 int nInserted = insert_(start, text); in replace() local 320 mCursorPosHint = start + nInserted; in replace() 1366 int nInserted, int nRestyled, in call_modify_callbacks() argument 1492 int nInserted) in update_selections() argument 1494 mPrimary.update(pos, nDeleted, nInserted); in update_selections() 1506 mStart += nInserted - nDeleted; in update() 1507 mEnd += nInserted - nDeleted; in update() 1514 mEnd = nInserted + mEnd - nDeleted; in update() [all …]
|
/dports/math/giacxcas/fltk-1.3.0/src/ |
H A D | Fl_Text_Buffer.cxx | 293 int nInserted = insert_(pos, text); in insert() local 294 mCursorPosHint = pos + nInserted; in insert() 321 int nInserted = insert_(start, text); in replace() local 322 mCursorPosHint = start + nInserted; in replace() 1314 int nInserted, int nRestyled, in call_modify_callbacks() argument 1440 int nInserted) in update_selections() argument 1442 mPrimary.update(pos, nDeleted, nInserted); in update_selections() 1454 mStart += nInserted - nDeleted; in update() 1455 mEnd += nInserted - nDeleted; in update() 1462 mEnd = nInserted + mEnd - nDeleted; in update() [all …]
|
/dports/comms/flamp/flamp-2.2.07/src/widgets/ |
H A D | Fl_Text_Buffer_mod.cxx | 300 int nInserted = insert_(pos, text); in insert() local 301 mCursorPosHint = pos + nInserted; in insert() 328 int nInserted = insert_(start, text); in replace() local 329 mCursorPosHint = start + nInserted; in replace() 1375 int nInserted, int nRestyled, in call_modify_callbacks() argument 1501 int nInserted) in update_selections() argument 1503 mPrimary.update(pos, nDeleted, nInserted); in update_selections() 1515 mStart += nInserted - nDeleted; in update() 1516 mEnd += nInserted - nDeleted; in update() 1523 mEnd = nInserted + mEnd - nDeleted; in update() [all …]
|
/dports/comms/fldigi/fldigi-4.1.20/src/widgets/ |
H A D | Fl_Text_Buffer_mod.cxx | 319 int nInserted = insert_(pos, text); in insert() local 320 mCursorPosHint = pos + nInserted; in insert() 349 int nInserted = insert_(start, text); in replace() local 350 mCursorPosHint = start + nInserted; in replace() 1404 int nInserted, int nRestyled, in call_modify_callbacks() argument 1530 int nInserted) in update_selections() argument 1532 mPrimary.update(pos, nDeleted, nInserted); in update_selections() 1544 mStart += nInserted - nDeleted; in update() 1545 mEnd += nInserted - nDeleted; in update() 1552 mEnd = nInserted + mEnd - nDeleted; in update() [all …]
|
/dports/comms/flcluster/flcluster-1.0.4/src/widgets/ |
H A D | Fl_Text_Buffer_mod.cxx | 300 int nInserted = insert_(pos, text); in insert() local 301 mCursorPosHint = pos + nInserted; in insert() 328 int nInserted = insert_(start, text); in replace() local 329 mCursorPosHint = start + nInserted; in replace() 1375 int nInserted, int nRestyled, in call_modify_callbacks() argument 1501 int nInserted) in update_selections() argument 1503 mPrimary.update(pos, nDeleted, nInserted); in update_selections() 1515 mStart += nInserted - nDeleted; in update() 1516 mEnd += nInserted - nDeleted; in update() 1523 mEnd = nInserted + mEnd - nDeleted; in update() [all …]
|
/dports/x11-toolkits/fltk/fltk-1.3.8/src/ |
H A D | Fl_Text_Buffer.cxx | 288 int nInserted = insert_(pos, text); in insert() local 289 mCursorPosHint = pos + nInserted; in insert() 316 int nInserted = insert_(start, text); in replace() local 317 mCursorPosHint = start + nInserted; in replace() 1306 int nInserted, int nRestyled, in call_modify_callbacks() argument 1432 int nInserted) in update_selections() argument 1434 mPrimary.update(pos, nDeleted, nInserted); in update_selections() 1446 mStart += nInserted - nDeleted; in update() 1447 mEnd += nInserted - nDeleted; in update() 1454 mEnd = nInserted + mEnd - nDeleted; in update() [all …]
|
/dports/x11-toolkits/ntk/ntk/src/ |
H A D | Fl_Text_Buffer.cxx | 293 int nInserted = insert_(pos, text); in insert() local 294 mCursorPosHint = pos + nInserted; in insert() 321 int nInserted = insert_(start, text); in replace() local 322 mCursorPosHint = start + nInserted; in replace() 1314 int nInserted, int nRestyled, in call_modify_callbacks() argument 1440 int nInserted) in update_selections() argument 1442 mPrimary.update(pos, nDeleted, nInserted); in update_selections() 1454 mStart += nInserted - nDeleted; in update() 1455 mEnd += nInserted - nDeleted; in update() 1462 mEnd = nInserted + mEnd - nDeleted; in update() [all …]
|
/dports/x11-toolkits/py-fltk/pyFltk-1.3.4.1/swig/ |
H A D | Fl_Text_Buffer.i | 26 static void PythonModifyCallBack(int pos, int nInserted, int nDeleted, int nRestyled, const char* d… in PythonModifyCallBack() argument 41 arglist = Py_BuildValue("(iiiis)", pos, nInserted, nDeleted, nRestyled, deletedText ); in PythonModifyCallBack() 44 arglist = Py_BuildValue("(iiiisO)", pos, nInserted, nDeleted, nRestyled, deletedText, obj ); in PythonModifyCallBack()
|
/dports/x11-toolkits/py-fltk/pyFltk-1.3.4.1/fltk/test/ |
H A D | editor.py | 145 def style_update(pos, nInserted, nDeleted, nRestyled, deletedText, e): argument 148 if nInserted == 0 and nDeleted == 0: 151 if nInserted > 0: 152 style = 'A'*nInserted 160 stylebuf.select(pos, pos + nInserted - nDeleted) 167 end = textbuf.line_end(pos + nInserted) 309 def changed_cb(i1, nInserted, nDeleted, i2, c1, editor): argument 312 if (nInserted != 0 or nDeleted != 0) and loading == False:
|
/dports/comms/flcluster/flcluster-1.0.4/src/include/ |
H A D | Fl_Text_Buffer_mod.H | 103 void update(int pos, int nDeleted, int nInserted); 152 typedef void (*Fl_Text_Modify_Cb)(int pos, int nInserted, int nDeleted, 694 void call_modify_callbacks(int pos, int nDeleted, int nInserted, 753 void update_selections(int pos, int nDeleted, int nInserted);
|
/dports/comms/flamp/flamp-2.2.07/src/include/ |
H A D | Fl_Text_Buffer_mod.H | 103 void update(int pos, int nDeleted, int nInserted); 152 typedef void (*Fl_Text_Modify_Cb)(int pos, int nInserted, int nDeleted, 694 void call_modify_callbacks(int pos, int nDeleted, int nInserted, 753 void update_selections(int pos, int nDeleted, int nInserted);
|