Commit Graph

279 Commits

Author SHA1 Message Date
mattias
912f4c0d77 codetools: fixed class completion
git-svn-id: trunk@18063 -
2009-01-02 18:56:39 +00:00
mattias
ad86924500 codetools: class completion: copy one method changes to body
git-svn-id: trunk@18045 -
2009-01-02 13:25:00 +00:00
mattias
41605046ff IDE+codetools: auto adding comma after complete uses section unit
git-svn-id: trunk@18039 -
2009-01-02 11:49:58 +00:00
mattias
24e99e928a IDE: combined remove empty methods
git-svn-id: trunk@17804 -
2008-12-11 23:00:58 +00:00
mattias
d8e36f10fb codetools: fixed CompareTextIgnoringSpace, bug #12177
git-svn-id: trunk@16635 -
2008-09-18 20:00:12 +00:00
mattias
6fb1936620 codetools: class completion for Index properties now use AIndex instead of Index as variable name to reduce name clashes from Michael VC
git-svn-id: trunk@15806 -
2008-07-17 21:12:33 +00:00
mattias
a45d589f57 codetools: extended ctnWithStatement EndPos to next atom when possible, bug #7970
git-svn-id: trunk@15207 -
2008-05-22 14:48:32 +00:00
mattias
e473ecf7d5 IDE: remove empty methods: warning when caret not in a class
git-svn-id: trunk@15026 -
2008-05-01 17:15:13 +00:00
mattias
5e41e48a30 codetools: remove empty methods: implemented returning list of removed definitions
git-svn-id: trunk@14986 -
2008-04-26 19:18:57 +00:00
mattias
d9e860573f codetools: removing empty methods: ignore redefinitions
git-svn-id: trunk@14982 -
2008-04-26 09:30:39 +00:00
mattias
cd87870685 codetools: removing empty methods: auto removing definition nodes
git-svn-id: trunk@14972 -
2008-04-25 13:43:49 +00:00
mattias
5399b1c322 codetools: removing empty methods: auto removing class completion comment
git-svn-id: trunk@14971 -
2008-04-25 13:31:19 +00:00
mattias
c0fef1b31e codetools: added function to remove empty method bodies
git-svn-id: trunk@14970 -
2008-04-25 12:35:55 +00:00
mattias
cc954306a9 codetools: added function to find empty method bodies
git-svn-id: trunk@14969 -
2008-04-25 12:11:17 +00:00
mattias
2a13760f82 codetools: fixed typo
git-svn-id: trunk@14870 -
2008-04-17 14:42:13 +00:00
mattias
e11870d2ee codetools: class completion: adding new parts behind GUID, bug #11158
git-svn-id: trunk@14850 -
2008-04-16 14:59:06 +00:00
mattias
1d92eaff9e codetools: fixed FixForwardDefinitions result when no definitions found
git-svn-id: trunk@14534 -
2008-03-15 13:39:41 +00:00
mattias
d8cf78193b codetools: fixed FindAliasDefinitions crash when no alias found
git-svn-id: trunk@14533 -
2008-03-15 13:34:04 +00:00
mattias
e033e82e6d codetools: fixed using the right keyword DoIt function
git-svn-id: trunk@14290 -
2008-02-27 20:15:49 +00:00
mattias
9519c2624f codetools: implemented start of extern c
git-svn-id: trunk@14283 -
2008-02-27 15:22:12 +00:00
mattias
4a973fd05a h2pas: improved debugging
git-svn-id: trunk@14187 -
2008-02-19 08:42:21 +00:00
mattias
dbdbd492a7 codetools: fixed remvong redefinitions of connected sections
git-svn-id: trunk@14163 -
2008-02-16 20:28:28 +00:00
mattias
0611fdb50b h2pas: codetools: fixed removing whole sections when removing redefinitions
git-svn-id: trunk@14154 -
2008-02-15 22:45:30 +00:00
mattias
e3f5d4cae9 codetools: fixed removing triple redefinitions
git-svn-id: trunk@14153 -
2008-02-15 22:18:13 +00:00
mattias
59077ba016 codetools: fixed code completion for semicolons after procs bugs #10741
git-svn-id: trunk@13937 -
2008-01-31 13:53:10 +00:00
mattias
876cefb855 codetools: CreateMethod: implemented adding units for parameter types, bug #10594
git-svn-id: trunk@13693 -
2008-01-09 19:45:29 +00:00
mattias
fb2f004237 codetools: code completion: auto create procedure from call statement
git-svn-id: trunk@13508 -
2007-12-28 19:35:10 +00:00
mattias
b883a482c5 codetools: fixed crash on finalization
git-svn-id: trunk@13503 -
2007-12-28 12:28:58 +00:00
mattias
1253f0d3a0 codetools: code completion: fixed finding existing method declarations in class interfaces
git-svn-id: trunk@13340 -
2007-12-15 13:10:23 +00:00
mattias
b9e3bc84b4 codetools: code completion: completing class interface properties
git-svn-id: trunk@13338 -
2007-12-15 12:58:25 +00:00
mattias
e26fc219ae codetools: class comment completion for class interfaces
git-svn-id: trunk@13337 -
2007-12-15 11:26:19 +00:00
mattias
3492130ddf codetools: replaced some var with out
git-svn-id: trunk@13222 -
2007-12-08 14:17:46 +00:00
mattias
b27b9bb629 IDE: added refactoring tool show abstract methods
git-svn-id: trunk@13212 -
2007-12-07 23:16:21 +00:00
mattias
6060a047ed codetools: implemented AddMethods
git-svn-id: trunk@13204 -
2007-12-07 15:30:22 +00:00
mattias
363234509c codetools: implemented searching abstract methods, added example
git-svn-id: trunk@13188 -
2007-12-07 00:28:12 +00:00
mattias
c95365d362 codetools: fixed FixAliasDefintions for typecasts to const
git-svn-id: trunk@12426 -
2007-10-12 19:40:05 +00:00
mattias
1a15301757 codetools: fixed some include path defs for FPC sources, fixed identifier completion for unit names with errors in code, IDE codebrowser: fixed loading new png icons
git-svn-id: trunk@12418 -
2007-10-11 22:21:38 +00:00
mattias
a1bc835c26 h2pas wizard: now jumping to error for tools
git-svn-id: trunk@12410 -
2007-10-10 20:47:39 +00:00
mattias
2adfa195f3 IDE: event assignment completion: fixed using beautify options for RValue
git-svn-id: trunk@12377 -
2007-10-08 10:44:01 +00:00
mattias
38b6bffd7b codetools: extended fixing alias functions to external functions
git-svn-id: trunk@12352 -
2007-10-06 18:10:17 +00:00
mattias
dae7d26d45 codetools: started fixing function alias
git-svn-id: trunk@12339 -
2007-10-05 21:52:42 +00:00
mattias
dc1e321f46 codetools: improved fixing definition order and fixing alias defs
git-svn-id: trunk@12315 -
2007-10-04 17:14:19 +00:00
mattias
6808002ecd codetools: improved FixAliasDefinitions for type casts
git-svn-id: trunk@12121 -
2007-09-21 21:49:14 +00:00
mattias
3a2a355c95 h2pas: added tool to remove double semicolons
git-svn-id: trunk@12115 -
2007-09-21 17:07:15 +00:00
mattias
2a4cf8b92f codetools: fixdefinitionorder: implemented sorting and moves, started commit
git-svn-id: trunk@12110 -
2007-09-21 11:00:42 +00:00
mattias
ca365cd4ff h2pas: added tool to convert c function types to pointers
git-svn-id: trunk@11953 -
2007-09-07 10:34:35 +00:00
mattias
ce4bd7e89a codetools: added function to move pointer types to there refering types
git-svn-id: trunk@11841 -
2007-08-21 17:34:44 +00:00
mattias
85bb631db4 codetools: implemented topological sort for code graphs
git-svn-id: trunk@11838 -
2007-08-20 18:02:41 +00:00
mattias
0d150f7df9 codetools: implemented generating a dependency graph from definitions of a unit
git-svn-id: trunk@11834 -
2007-08-17 19:29:02 +00:00
mattias
afcbbf4db0 codetools: implemented local type and var section for generics
git-svn-id: trunk@11833 -
2007-08-17 12:48:29 +00:00
mattias
3df0f2e900 codetools: implemented FixAllAliasDefinitions - auto fixing wrong type/const alias
git-svn-id: trunk@11831 -
2007-08-16 19:53:39 +00:00
mattias
13c2b40e20 codetools: implemented parsing the new fpc 2.3.1 generics, simple find declaration for generics
git-svn-id: trunk@11829 -
2007-08-16 17:12:56 +00:00
mattias
78094ff39d codetools: improved finding wrong alias
git-svn-id: trunk@11824 -
2007-08-15 20:39:49 +00:00
mattias
f2b1ebcd42 codetools: aded function to replace simple functions with type casts
git-svn-id: trunk@11818 -
2007-08-14 23:13:31 +00:00
mattias
a03409e87a IDE: code explorer: added directives page
git-svn-id: trunk@11815 -
2007-08-14 17:22:47 +00:00
mattias
d48eb4b364 codetools: implemented function to convert simple functions to constants, h2pas: new tools to reduce IFDEFs and fucntions to constant conversion
git-svn-id: trunk@11761 -
2007-08-08 18:22:43 +00:00
mattias
f9f7d157a3 codetools: implemented function to simplify some types of compiler directives
git-svn-id: trunk@11754 -
2007-08-07 14:21:13 +00:00
mattias
3b69506329 gtk2 intf: added focus events for combobox, ideintf: textconverter now supports codetool buffers, h2pas wiz: added tool to remove redfinitions, reduced warnings
git-svn-id: trunk@11733 -
2007-08-03 22:38:11 +00:00
mattias
070969769c LCL: TTreeView: accelerated TTreeNode.GetIndex
git-svn-id: trunk@10486 -
2007-01-22 14:37:12 +00:00
mattias
dd7b5ba113 IDE: fixed adding spaces for identifier completion adding method declarations to classes
git-svn-id: trunk@10479 -
2007-01-19 16:48:20 +00:00
mattias
abc46812c6 codetools: reverse class completion: do not create missing proc bodies
git-svn-id: trunk@10477 -
2007-01-18 20:24:36 +00:00
mattias
078cef717e codetools: added verbosity
git-svn-id: trunk@10476 -
2007-01-18 14:59:57 +00:00
mattias
2cf5ba11a4 codetools: added verbosity
git-svn-id: trunk@10475 -
2007-01-18 14:47:44 +00:00
mattias
00b53f40c8 IDE: added verbosity
git-svn-id: trunk@10467 -
2007-01-18 12:22:04 +00:00
mattias
b66c203a3c added debugging information
git-svn-id: trunk@10466 -
2007-01-18 11:53:08 +00:00
mattias
735b70957a codetools: code completion: implemented adding methog declaration for method body at cursor
git-svn-id: trunk@10386 -
2007-01-06 13:00:36 +00:00
mattias
ffb717dbc2 codetools: class completion: copying class keyword for virtual methods
git-svn-id: trunk@10326 -
2006-12-13 09:19:05 +00:00
mattias
dead2dc443 codetools: adding missing semicolon on code completing classes
git-svn-id: trunk@10140 -
2006-10-31 12:38:27 +00:00
mattias
0b3a85d0e6 codetools: adding missing semicolon on code completing forward procedures
git-svn-id: trunk@10139 -
2006-10-31 12:22:13 +00:00
mattias
54775b843e adding events for properties of method types of indirect units implemented issue #1990
git-svn-id: trunk@9600 -
2006-07-13 22:06:24 +00:00
mattias
ab98d4268e codetools: implemented finding the expression type of a constant
git-svn-id: trunk@9584 -
2006-07-10 17:03:32 +00:00
mattias
b4d02ab283 added example to add custom methods
git-svn-id: trunk@9488 -
2006-06-23 10:36:39 +00:00
mattias
cd5bd31851 disabled memcheck
git-svn-id: trunk@9467 -
2006-06-21 20:14:50 +00:00
mattias
d15d5a84e9 codetools: implemented FindCodeContext for procedures
git-svn-id: trunk@9296 -
2006-05-17 00:56:04 +00:00
mattias
7f9586348a fixed endless loop
git-svn-id: trunk@8824 -
2006-02-25 21:20:39 +00:00
mattias
da053da649 workaround till FindDeclarationOfIdentAtCursor works with broken code
git-svn-id: trunk@8676 -
2006-01-31 15:56:15 +00:00
mattias
fa3cda85f5 added debugging for clipboard
git-svn-id: trunk@8603 -
2006-01-23 10:37:40 +00:00
mattias
aa95eef759 started codecontext find proc node
git-svn-id: trunk@8597 -
2006-01-21 22:10:06 +00:00
mattias
9347949119 fixed code completion of parameter variables for sets of variables
git-svn-id: trunk@8556 -
2006-01-18 20:16:59 +00:00
mattias
7f45ee18da implemented code completion of parameter variables
git-svn-id: trunk@8555 -
2006-01-18 19:15:11 +00:00
mattias
8c5f336505 fixes for fpc 2.0.3 and TrayIconLaz.lpk
git-svn-id: trunk@8545 -
2006-01-17 14:31:24 +00:00
mattias
9ff3525add extended class completion for generic classes
git-svn-id: trunk@8369 -
2005-12-26 10:06:39 +00:00
mattias
4595d9066c implemented IDE code macro selection
git-svn-id: trunk@8102 -
2005-11-08 15:50:42 +00:00
mattias
cc1d35125b fixed event assignment completion cursor pos
git-svn-id: trunk@8098 -
2005-11-07 22:11:05 +00:00
mattias
b2da0049cf added IDE overload for inserting code templates, needed for code macros
git-svn-id: trunk@8063 -
2005-11-05 11:46:16 +00:00
mattias
826f7e66f5 class completion now copies the class keyword for class methods
git-svn-id: trunk@8024 -
2005-11-01 22:18:20 +00:00
micha
0300aa4c2e remove excess string concatenation "+"
git-svn-id: trunk@7975 -
2005-10-21 11:50:43 +00:00
mattias
7cd65400ed implemented codefolding in synedit highlighter
git-svn-id: trunk@7935 -
2005-10-08 16:01:15 +00:00
mattias
e1c20a0c4d improved IgnoreErrorAfterCursor for begin blocks, class block and proc heads
git-svn-id: trunk@7523 -
2005-08-17 23:32:18 +00:00
mattias
612ad985f5 implemented search for existing class completion comments
git-svn-id: trunk@7522 -
2005-08-17 19:08:29 +00:00
mattias
98910ff579 forward proc completion no longer copies comments
git-svn-id: trunk@7515 -
2005-08-17 09:15:01 +00:00
vincents
1064272122 removed ifdef ver1 from Martin Smat
git-svn-id: trunk@7479 -
2005-08-04 08:41:46 +00:00
mattias
e303f8f83f replaced codetools+gtk intf TList with faster TFPList
git-svn-id: trunk@7405 -
2005-07-23 09:27:30 +00:00
mattias
4b813aac5d fixed code completion of external procs
git-svn-id: trunk@7257 -
2005-06-20 18:27:43 +00:00
vincents
c535f37167 use xml units from fpc, if not compiling with fpc 1.0
git-svn-id: trunk@6603 -
2005-01-15 13:44:03 +00:00
mattias
d92ce8d36c fixed finding class after class completion
git-svn-id: trunk@6514 -
2005-01-08 16:27:59 +00:00
mattias
66a176a847 fixed finding class after class completion
git-svn-id: trunk@6513 -
2005-01-08 16:23:55 +00:00
mattias
2e1f289436 fixed finding class after class completion
git-svn-id: trunk@6511 -
2005-01-08 15:40:58 +00:00
mattias
fd903d9ed1 increased version to 0.9.4
git-svn-id: trunk@6456 -
2005-01-02 11:24:25 +00:00
mattias
cf818e4584 implemented adding class header comment on class completion
git-svn-id: trunk@6455 -
2005-01-01 23:22:48 +00:00
mattias
68c0ee8c21 renamed avl_tree.pas to oldavltree.pas for new fpc 1.9.5
git-svn-id: trunk@6210 -
2004-11-06 19:49:14 +00:00
mattias
79e0b3d2d1 fixed compiling codetools with -dCTDebug
git-svn-id: trunk@5855 -
2004-08-25 21:26:45 +00:00
mattias
730a67c8e1 fixed button return key
git-svn-id: trunk@5500 -
2004-05-22 14:35:33 +00:00
mattias
617948d9c8 removed unneeded units in uses sections
git-svn-id: trunk@5443 -
2004-05-02 12:01:15 +00:00
mattias
82ad9e0e7d fixed FindEndOfExpression for bogus statements
git-svn-id: trunk@5352 -
2004-03-30 17:45:31 +00:00
mattias
77694e4aa0 codecompletion: forward proc body position now block sensitive
git-svn-id: trunk@4877 -
2003-12-06 19:20:46 +00:00
mattias
f0955a6093 implemented extract proc, check lfm and convert delphi unit
git-svn-id: trunk@4708 -
2003-10-15 18:01:10 +00:00
mattias
3cfdaeef38 fixed targetos for clean all
git-svn-id: trunk@4329 -
2003-06-27 22:07:39 +00:00
mattias
0daacecbf3 implemented TPairSplitter streaming
git-svn-id: trunk@4298 -
2003-06-23 12:33:55 +00:00
mattias
ae12a98a40 fixes for debugging
git-svn-id: trunk@3166 -
2002-08-18 16:50:09 +00:00
mattias
a344dfcdf7 fixed inserting code in front of delphi comment
git-svn-id: trunk@3161 -
2002-08-18 16:50:08 +00:00
mattias
125edc1935 fixed jumping to renamed procs
git-svn-id: trunk@3158 -
2002-08-18 16:50:07 +00:00
mattias
619e882233 added export procedure specifier
git-svn-id: trunk@3156 -
2002-08-18 16:50:06 +00:00
mattias
a49177e24f changed macro name ProjectDir to ProjPath
git-svn-id: trunk@3153 -
2002-08-18 16:50:05 +00:00
mattias
602eb57081 implemented add file to a package dialog
git-svn-id: trunk@3152 -
2002-08-18 16:50:04 +00:00
mattias
7762fc3ae7 added ipdefine.inc
git-svn-id: trunk@3151 -
2002-08-18 16:50:03 +00:00
mattias
7eefc30745 code completion, local var completion now indents correct after var a:b;
git-svn-id: trunk@3150 -
2002-08-18 16:50:02 +00:00
mattias
e231ac6cbf fixed real number recognition
git-svn-id: trunk@3149 -
2002-08-18 16:50:01 +00:00
mattias
6cf183e85d fixed code completion, when cursor in forward proc head
git-svn-id: trunk@3148 -
2002-08-18 16:50:00 +00:00
mattias
03c5f31679 fixed class completion for property access <ident>.<ident>
git-svn-id: trunk@3147 -
2002-08-18 16:49:59 +00:00
mattias
013fb59c22 code completion now copies procedure calling conventions
git-svn-id: trunk@3146 -
2002-08-18 16:49:58 +00:00
mattias
f31dad6d8a fixed form FActive, cleanups
git-svn-id: trunk@3145 -
2002-08-18 16:49:57 +00:00
mattias
6c2a71138f find declaration now supports class interfaces
git-svn-id: trunk@3144 -
2002-08-18 16:49:56 +00:00
mattias
82870643ca fixed finddeclaration: with context flag bug
git-svn-id: trunk@3143 -
2002-08-18 16:49:55 +00:00
mattias
ef26f3b4e6 Local variable completion for program begin..end blocks
git-svn-id: trunk@3142 -
2002-08-18 16:49:54 +00:00
lazarus
19d0cc7d08 MG: fixed used virtual files and IsPartOfProject Bug
git-svn-id: trunk@3141 -
2002-08-18 16:49:53 +00:00
lazarus
5825d97718 MG: code completion: added local variable completion
git-svn-id: trunk@3140 -
2002-08-18 16:49:52 +00:00
lazarus
1f7c5dd3fa MG: fixed stopping keypress event if handled by LCL
git-svn-id: trunk@3139 -
2002-08-18 16:49:51 +00:00
lazarus
6b69ba633b MG: codecompletion: added ForwardProcInsertPolicies
git-svn-id: trunk@3138 -
2002-08-18 16:49:50 +00:00
lazarus
cf4d7edc1e MG: codecompletion: improved separation of vars, methods and props
git-svn-id: trunk@3137 -
2002-08-18 16:49:49 +00:00
lazarus
396d1012c2 MG: jump point is now added if method jumping not revertable
git-svn-id: trunk@3136 -
2002-08-18 16:49:48 +00:00
lazarus
b0513667c6 MG: implemented IgnoreErrorAfter position for codetools
git-svn-id: trunk@3135 -
2002-08-18 16:49:47 +00:00
lazarus
8608762170 MG: fixed codecompletion stored specifier with False/True
git-svn-id: trunk@3134 -
2002-08-18 16:49:46 +00:00
lazarus
e316b51886 MG: added if oldvalue=newvalue then exit; line to codecompletion
git-svn-id: trunk@3133 -
2002-08-18 16:49:45 +00:00
lazarus
0e368232da MG: codecompletion now checks for filebreaks, savefile now checks for filedate
git-svn-id: trunk@1828 -
2002-08-07 09:55:31 +00:00
lazarus
3ee9c1fab9 MG: fixed CodeCompletion of STORED property functions
git-svn-id: trunk@1825 -
2002-08-06 19:58:45 +00:00
lazarus
ed57800398 MG: added close buttons and images to TNoteBook and close buttons to source editor
git-svn-id: trunk@1740 -
2002-06-08 17:16:02 +00:00
lazarus
13926110d3 MG: published variables are now added with code creation options
git-svn-id: trunk@1733 -
2002-06-05 20:02:28 +00:00
lazarus
f2bb9eaf9c MG: fixed find declaration top lvl name resolving of properties
git-svn-id: trunk@1710 -
2002-05-29 21:43:22 +00:00
lazarus
1817ed5fc4 MG: fixed Event Assignment Completion naming
git-svn-id: trunk@1690 -
2002-05-16 18:53:57 +00:00
lazarus
d969776637 MG: started new client rectangle
git-svn-id: trunk@1635 -
2002-04-24 16:11:17 +00:00
lazarus
1c20c98a0b MG: fixed property completion of stored fuctions
git-svn-id: trunk@1634 -
2002-04-24 14:32:23 +00:00
lazarus
f7aa303653 MG: fixed property completion of stored fuctions
git-svn-id: trunk@1633 -
2002-04-24 14:31:16 +00:00
lazarus
271909d412 MG: reduced output
git-svn-id: trunk@1629 -
2002-04-23 17:24:23 +00:00
lazarus
088624b9cc MG: accelerated parser
git-svn-id: trunk@1628 -
2002-04-23 16:12:52 +00:00
lazarus
591eaa3d79 MG: fixes, e.g. method jumping to changed overloaded methods
git-svn-id: trunk@1615 -
2002-04-17 09:15:51 +00:00
lazarus
dd37880074 MG: added path editor for compiler options
git-svn-id: trunk@1612 -
2002-04-16 08:55:06 +00:00
lazarus
9beb5af34e MG: new expression evalution for find declaration and fixes
git-svn-id: trunk@1606 -
2002-04-15 10:54:13 +00:00
lazarus
2047305713 MG: reduced node cache killing for scan ranges
git-svn-id: trunk@1604 -
2002-04-12 14:51:33 +00:00
lazarus
57400d3471 MG: fixed node cache dependency update bug
git-svn-id: trunk@1603 -
2002-04-12 14:30:26 +00:00