1 /* 2 FXiTe - The Free eXtensIble Text Editor 3 Copyright (c) 2009-2012 Jeffrey Pohlmeyer <yetanothergeek@gmail.com> 4 5 This program is free software; you can redistribute it and/or modify it 6 under the terms of the GNU General Public License version 3 as 7 published by the Free Software Foundation. 8 9 This software is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 GNU General Public License for more details. 13 14 You should have received a copy of the GNU General Public License 15 along with this program; if not, write to the Free Software 16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 */ 18 19 20 class TagHandler: public FXObject { 21 public: 22 static bool FindTag(SciDoc*sci, FXMenuCaption*tagfiles, FXString &outfile, FXString &outcoords, FXString &outpat); 23 static void GoToTag(SciDoc*sci, FXString &pattern); 24 static void ShowCallTip(SciDoc*sci, FXMenuCaption*tagfiles); 25 }; 26 27 28 29 class AutoCompleter:public Dictionary { 30 private: 31 void Show(SciDoc*sci); 32 void Parse(char startchar, const char*filename); 33 public: 34 void Start(SciDoc*sci, FXMenuCaption*tagfiles); 35 bool Continue(SciDoc*sci); 36 ~AutoCompleter(); 37 }; 38 39