亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? fl_text_buffer.h

?? viewml移植到win32,windows平臺代碼
?? H
字號:
//// "$Id: Fl_Text_Buffer.H 4288 2005-04-16 00:13:17Z mike $"//// Header file for Fl_Text_Buffer class.//// Copyright 2001-2005 by Bill Spitzak and others.// Original code Copyright Mark Edel.  Permission to distribute under// the LGPL for the FLTK library granted by Mark Edel.//// This library is free software; you can redistribute it and/or// modify it under the terms of the GNU Library General Public// License as published by the Free Software Foundation; either// version 2 of the License, or (at your option) any later version.//// This library is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU// Library General Public License for more details.//// You should have received a copy of the GNU Library General Public// License along with this library; if not, write to the Free Software// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307// USA.//// Please report all bugs and problems on the following page:////     http://www.fltk.org/str.php//#ifndef FL_TEXT_BUFFER_H#define FL_TEXT_BUFFER_H/* Maximum length in characters of a tab or control character expansion   of a single buffer character */#define FL_TEXT_MAX_EXP_CHAR_LEN 20#include "Fl_Export.H"class FL_EXPORT Fl_Text_Selection {  friend class Fl_Text_Buffer;  public:    void set(int start, int end);    void set_rectangular(int start, int end, int rectStart, int rectEnd);    void update(int pos, int nDeleted, int nInserted);    char rectangular() { return mRectangular; }    int start() { return mStart; }    int end() { return mEnd; }    int rect_start() { return mRectStart; }    int rect_end() { return mRectEnd; }    char selected() { return mSelected; }    void selected(char b) { mSelected = b; }    int includes(int pos, int lineStartPos, int dispIndex);    int position(int* start, int* end);    int position(int* start, int* end, int* isRect, int* rectStart, int* rectEnd);  protected:    char mSelected;    char mRectangular;    int mStart;    int mEnd;    int mRectStart;    int mRectEnd;};typedef void (*Fl_Text_Modify_Cb)(int pos, int nInserted, int nDeleted,                                  int nRestyled, const char* deletedText,                                  void* cbArg);typedef void (*Fl_Text_Predelete_Cb)(int pos, int nDeleted, void* cbArg);class FL_EXPORT Fl_Text_Buffer {  public:    Fl_Text_Buffer(int requestedSize = 0);    ~Fl_Text_Buffer();    int length() { return mLength; }    char* text();    void text(const char* text);    char* text_range(int start, int end);    char character(int pos);    char* text_in_rectangle(int start, int end, int rectStart, int rectEnd);    void insert(int pos, const char* text);    void append(const char* t) { insert(length(), t); }    void remove(int start, int end);    void replace(int start, int end, const char *text);    void copy(Fl_Text_Buffer* fromBuf, int fromStart, int fromEnd, int toPos);    int undo(int *cp=0);    void canUndo(char flag=1);    int insertfile(const char *file, int pos, int buflen = 128*1024);    int appendfile(const char *file, int buflen = 128*1024)      { return insertfile(file, length(), buflen); }    int loadfile(const char *file, int buflen = 128*1024)      { select(0, length()); remove_selection(); return appendfile(file, buflen); }    int outputfile(const char *file, int start, int end, int buflen = 128*1024);    int savefile(const char *file, int buflen = 128*1024)      { return outputfile(file, 0, length(), buflen); }    void insert_column(int column, int startPos, const char* text,                       int* charsInserted, int* charsDeleted);    void replace_rectangular(int start, int end, int rectStart, int rectEnd,                             const char* text);    void overlay_rectangular(int startPos, int rectStart, int rectEnd,                             const char* text, int* charsInserted,                             int* charsDeleted);    void remove_rectangular(int start, int end, int rectStart, int rectEnd);    void clear_rectangular(int start, int end, int rectStart, int rectEnd);    int tab_distance() { return mTabDist; }    void tab_distance(int tabDist);    void select(int start, int end);    int selected() { return mPrimary.selected(); }    void unselect();    void select_rectangular(int start, int end, int rectStart, int rectEnd);    int selection_position(int* start, int* end);    int selection_position(int* start, int* end, int* isRect, int* rectStart,                           int* rectEnd);    char* selection_text();    void remove_selection();    void replace_selection(const char* text);    void secondary_select(int start, int end);    void secondary_unselect();    void secondary_select_rectangular(int start, int end, int rectStart,                                      int rectEnd);    int secondary_selection_position(int* start, int* end, int* isRect,                                     int* rectStart, int* rectEnd);    char* secondary_selection_text();    void remove_secondary_selection();    void replace_secondary_selection(const char* text);    void highlight(int start, int end);    void unhighlight();    void highlight_rectangular(int start, int end, int rectStart, int rectEnd);    int highlight_position(int* start, int* end, int* isRect, int* rectStart,                           int* rectEnd);    char* highlight_text();    void add_modify_callback(Fl_Text_Modify_Cb bufModifiedCB, void* cbArg);    void remove_modify_callback(Fl_Text_Modify_Cb bufModifiedCB, void* cbArg);    void call_modify_callbacks() { call_modify_callbacks(0, 0, 0, 0, 0); }    void add_predelete_callback(Fl_Text_Predelete_Cb bufPredelCB, void* cbArg);    void remove_predelete_callback(Fl_Text_Predelete_Cb predelCB, void* cbArg);    void call_predelete_callbacks() { call_predelete_callbacks(0, 0); }    char* line_text(int pos);    int line_start(int pos);    int line_end(int pos);    int word_start(int pos);    int word_end(int pos);    int expand_character(int pos, int indent, char *outStr);    static int expand_character(char c, int indent, char* outStr, int tabDist,                                char nullSubsChar);    static int character_width(char c, int indent, int tabDist, char nullSubsChar);    int count_displayed_characters(int lineStartPos, int targetPos);    int skip_displayed_characters(int lineStartPos, int nChars);    int count_lines(int startPos, int endPos);    int skip_lines(int startPos, int nLines);    int rewind_lines(int startPos, int nLines);    int findchar_forward(int startPos, char searchChar, int* foundPos);    int findchar_backward(int startPos, char searchChar, int* foundPos);    int findchars_forward(int startPos, const char* searchChars, int* foundPos);    int findchars_backward(int startPos, const char* searchChars, int* foundPos);    int search_forward(int startPos, const char* searchString, int* foundPos,                       int matchCase = 0);    int search_backward(int startPos, const char* searchString, int* foundPos,                        int matchCase = 0);    int substitute_null_characters(char* string, int length);    void unsubstitute_null_characters(char* string);    char null_substitution_character() { return mNullSubsChar; }    Fl_Text_Selection* primary_selection() { return &mPrimary; }    Fl_Text_Selection* secondary_selection() { return &mSecondary; }    Fl_Text_Selection* highlight_selection() { return &mHighlight; }  protected:    void call_modify_callbacks(int pos, int nDeleted, int nInserted,                               int nRestyled, const char* deletedText);    void call_predelete_callbacks(int pos, int nDeleted);    int insert_(int pos, const char* text);    void remove_(int start, int end);    void remove_rectangular_(int start, int end, int rectStart, int rectEnd,                             int* replaceLen, int* endPos);    void insert_column_(int column, int startPos, const char* insText,                        int* nDeleted, int* nInserted, int* endPos);    void overlay_rectangular_(int startPos, int rectStart, int rectEnd,                              const char* insText, int* nDeleted,                              int* nInserted, int* endPos);    void redisplay_selection(Fl_Text_Selection* oldSelection,                             Fl_Text_Selection* newSelection);    void move_gap(int pos);    void reallocate_with_gap(int newGapStart, int newGapLen);    char* selection_text_(Fl_Text_Selection* sel);    void remove_selection_(Fl_Text_Selection* sel);    void replace_selection_(Fl_Text_Selection* sel, const char* text);    void rectangular_selection_boundaries(int lineStartPos, int rectStart,                                          int rectEnd, int* selStart,                                          int* selEnd);    void update_selections(int pos, int nDeleted, int nInserted);    Fl_Text_Selection mPrimary; /* highlighted areas */    Fl_Text_Selection mSecondary;    Fl_Text_Selection mHighlight;    int mLength;                /* length of the text in the buffer (the length                                   of the buffer itself must be calculated:                                   gapEnd - gapStart + length) */    char* mBuf;                 /* allocated memory where the text is stored */    int mGapStart;              /* points to the first character of the gap */    int mGapEnd;                /* points to the first char after the gap */    // The hardware tab distance used by all displays for this buffer,    // and used in computing offsets for rectangular selection operations.    int mTabDist;               /* equiv. number of characters in a tab */    int mUseTabs;               /* True if buffer routines are allowed to use                                   tabs for padding in rectangular operations */    int mNModifyProcs;          /* number of modify-redisplay procs attached */    Fl_Text_Modify_Cb*          /* procedures to call when buffer is */    mNodifyProcs;               /* modified to redisplay contents */    void** mCbArgs;             /* caller arguments for modifyProcs above */    int mNPredeleteProcs;	/* number of pre-delete procs attached */    Fl_Text_Predelete_Cb*	/* procedure to call before text is deleted */	 mPredeleteProcs;	/* from the buffer; at most one is supported. */    void **mPredeleteCbArgs;	/* caller argument for pre-delete proc above */    int mCursorPosHint;         /* hint for reasonable cursor position after                                   a buffer modification operation */    char mNullSubsChar;         /* NEdit is based on C null-terminated strings,                                   so ascii-nul characters must be substituted                                   with something else.  This is the else, but                                   of course, things get quite messy when you                                   use it */    char mCanUndo;		/* if this buffer is used for attributes, it must				   not do any undo calls */};#endif//// End of "$Id: Fl_Text_Buffer.H 4288 2005-04-16 00:13:17Z mike $".//

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品视频一区二区| 一区二区三区美女| 一区二区三区日韩欧美| 精品一区二区在线观看| 欧美午夜精品久久久久久超碰| 精品奇米国产一区二区三区| 亚洲男人的天堂网| 成人午夜激情片| 精品久久久久一区二区国产| 亚洲综合激情小说| 97精品国产露脸对白| 精品国产亚洲在线| 奇米色一区二区| 欧美日韩一区小说| 亚洲精品免费在线观看| 成人av网站在线观看免费| 精品国产亚洲在线| 久久成人av少妇免费| 91精品久久久久久蜜臀| 亚洲丰满少妇videoshd| 91黄色小视频| 亚洲男女一区二区三区| 91在线小视频| 综合激情网...| 91在线视频播放地址| 国产精品水嫩水嫩| 成人爱爱电影网址| 成人欧美一区二区三区视频网页| 成人午夜av在线| 国产精品丝袜久久久久久app| 国产成人一区在线| 日本一区二区不卡视频| 成人午夜视频网站| 亚洲少妇最新在线视频| 91视频com| 亚洲一区二三区| 欧美精品一二三| 天天综合网 天天综合色| 欧美军同video69gay| 日韩不卡一二三区| 日韩你懂的在线观看| 久久99精品国产.久久久久 | 日韩欧美不卡一区| 日本91福利区| 久久久亚洲精品石原莉奈| 国产精品亚洲一区二区三区在线| 国产欧美1区2区3区| 91玉足脚交白嫩脚丫在线播放| 一区二区中文字幕在线| 欧美性做爰猛烈叫床潮| 九九久久精品视频| 国产亚洲一区二区在线观看| 成人教育av在线| 亚洲成国产人片在线观看| 欧美疯狂性受xxxxx喷水图片| 精品一区二区三区av| 国产精品盗摄一区二区三区| 欧美三级视频在线观看| 国产专区综合网| 亚洲视频一二区| 欧美va在线播放| 97精品久久久久中文字幕| 五月婷婷激情综合网| 久久久久久久精| 91看片淫黄大片一级在线观看| 丝袜脚交一区二区| 欧美国产日韩a欧美在线观看| 欧美午夜电影网| 国产乱码精品一区二区三区av | 国产亚洲精品7777| 欧美在线观看一区| 黄一区二区三区| 一区二区三区 在线观看视频| 欧美一区二区精美| 99视频国产精品| 久久国产乱子精品免费女| 亚洲日本一区二区| 久久亚洲影视婷婷| 欧美日韩一级二级三级| 成人免费视频一区二区| 蜜桃精品在线观看| 亚洲一区二区三区四区五区黄| 2021国产精品久久精品| 欧美日韩一区二区三区四区| 懂色av一区二区三区蜜臀| 天堂va蜜桃一区二区三区漫画版 | 成人99免费视频| 久久精品国产色蜜蜜麻豆| 一区二区在线免费观看| 国产亚洲欧美一级| 日韩免费看的电影| 欧美日韩色一区| 色88888久久久久久影院野外| 国产麻豆视频精品| 久久精品国产精品亚洲综合| 亚洲欧美激情视频在线观看一区二区三区 | 欧美精品在线视频| 在线中文字幕一区二区| 99精品视频在线观看| 成人性色生活片免费看爆迷你毛片| 免费高清成人在线| 日韩av在线播放中文字幕| 亚洲第一电影网| 伊人色综合久久天天人手人婷| 国产精品第一页第二页第三页| 久久精品视频在线看| 久久婷婷成人综合色| 欧美成人精品二区三区99精品| 欧美精品v国产精品v日韩精品| 欧美日韩国产综合久久| 欧美无乱码久久久免费午夜一区| 色综合一个色综合| 日本韩国欧美在线| 欧美综合天天夜夜久久| 欧洲精品视频在线观看| 在线日韩av片| 欧美日免费三级在线| 欧美日韩三级视频| 日韩一区二区视频在线观看| 日韩一区二区在线看| 91精品国产一区二区三区蜜臀 | 亚洲精品在线网站| 久久久国际精品| 国产精品私人影院| 亚洲欧洲制服丝袜| 一区二区三区四区视频精品免费| 亚洲欧美日韩国产手机在线 | 狠狠色综合色综合网络| 国产xxx精品视频大全| 成人免费观看视频| 色诱视频网站一区| 欧美日韩一区成人| 欧美大片在线观看一区二区| 精品1区2区在线观看| 中文字幕不卡在线播放| 樱桃国产成人精品视频| 日韩中文欧美在线| 国产成人福利片| 91香蕉视频污在线| 欧美一激情一区二区三区| 久久久精品综合| 亚洲精品乱码久久久久久 | 国产成人在线网站| 91污片在线观看| 日韩一区二区三区视频在线观看| 久久综合网色—综合色88| 中文字幕在线免费不卡| 亚洲午夜久久久久久久久电影院| 美日韩一级片在线观看| 丁香婷婷综合激情五月色| 在线观看区一区二| 26uuu成人网一区二区三区| 日韩美女视频一区二区| 免费成人在线影院| av动漫一区二区| 欧美一区二区在线播放| 亚洲欧美影音先锋| 蜜乳av一区二区三区| 99久久精品免费看| 精品久久久久久久人人人人传媒| 中文字幕一区二区三区四区| 男女激情视频一区| 色诱亚洲精品久久久久久| 久久久影院官网| 亚洲成人精品影院| 99这里只有精品| 欧美国产精品一区二区| 免费人成在线不卡| 在线看国产一区二区| 国产精品毛片大码女人| 蜜臀av亚洲一区中文字幕| 欧美性受xxxx| 亚洲色图欧洲色图| 国产成人aaaa| 久久女同互慰一区二区三区| 首页综合国产亚洲丝袜| 色妞www精品视频| 中文成人av在线| 国产精品一级黄| 精品国产区一区| 丝袜美腿高跟呻吟高潮一区| 色综合久久久久综合| 国产精品美女久久久久久| 国产精品1区二区.| 久久一区二区三区四区| 免费亚洲电影在线| 日韩一区二区免费高清| 视频精品一区二区| 538prom精品视频线放| 亚洲成人7777| 91精品蜜臀在线一区尤物| 日日噜噜夜夜狠狠视频欧美人| 色偷偷一区二区三区| 亚洲免费视频中文字幕| 91浏览器在线视频| 亚洲精品一二三四区| 日本电影欧美片| 亚洲亚洲人成综合网络| 欧美亚洲综合一区| 天天操天天综合网|