Mercurial > projects > dwt-addons
comparison dwtx/jface/internal/text/link/contentassist/CompletionProposalPopup2.d @ 158:25f1f92fa3df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 26 Aug 2008 02:46:34 +0200 |
parents | f70d9508c95c |
children | 7926b636c282 |
comparison
equal
deleted
inserted
replaced
157:7f75eaa8103a | 158:25f1f92fa3df |
---|---|
173 * be made out of an auto activation context. | 173 * be made out of an auto activation context. |
174 * | 174 * |
175 * @param autoActivated <code>true</code> if auto activation context | 175 * @param autoActivated <code>true</code> if auto activation context |
176 * @return an error message or <code>null</code> in case of no error | 176 * @return an error message or <code>null</code> in case of no error |
177 */ | 177 */ |
178 public String showProposals(final bool autoActivated) { | 178 public String showProposals(bool autoActivated) { |
179 | 179 |
180 if (fKeyListener is null) { | 180 if (fKeyListener is null) { |
181 fKeyListener= new class() KeyListener { | 181 fKeyListener= new class() KeyListener { |
182 public void keyPressed(KeyEvent e) { | 182 public void keyPressed(KeyEvent e) { |
183 if (!Helper2.okToUse(fProposalShell)) | 183 if (!Helper2.okToUse(fProposalShell)) |
379 * @param trigger the trigger character | 379 * @param trigger the trigger character |
380 * @param stateMask the state mask of the keyboard event triggering the insertion | 380 * @param stateMask the state mask of the keyboard event triggering the insertion |
381 * @param offset the offset | 381 * @param offset the offset |
382 * @since 2.1 | 382 * @since 2.1 |
383 */ | 383 */ |
384 private void insertProposal(ICompletionProposal p, char trigger, int stateMask, final int offset) { | 384 private void insertProposal(ICompletionProposal p, char trigger, int stateMask, int offset) { |
385 | 385 |
386 fInserting= true; | 386 fInserting= true; |
387 IRewriteTarget target= null; | 387 IRewriteTarget target= null; |
388 IEditingSupportRegistry registry= null; | 388 IEditingSupportRegistry registry= null; |
389 | 389 |