Bug 275270 - [regression] Code Assist list was bad refreshed using Backspace button
Summary: [regression] Code Assist list was bad refreshed using Backspace button
Status: RESOLVED FIXED
Alias: None
Product: DLTK
Classification: Technology
Component: Common (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P1 major (vote)
Target Milestone: ---   Edit
Assignee: dltk.common-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-07 04:35 EDT by Kalin CLA
Modified: 2010-06-11 06:26 EDT (History)
4 users (show)

See Also:


Attachments
patch (7.94 KB, patch)
2010-01-28 05:08 EST, Zhongwei Zhao CLA
no flags Details | Diff
patch (7.97 KB, patch)
2010-03-09 21:06 EST, Zhongwei Zhao CLA
alex.panchenko: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kalin CLA 2009-05-07 04:35:46 EDT
Type partially php keyword, build-in function name, etc.
Example:
<?php
cla|    //<--invoke CA here "|".


Invoke Code Assist.
Press Backspace.

Actual:
The relevant PHP templates only will be shown in CA list.

For example given:
class
cln
closure
cls

No keywords, functions were suggested.


Expected:
CA should be refreshed accordingly - templates, keywords, build-in function, variables, etc.

Found in PDT M6.


The behaviour is the correct one in PDT M5.
Comment 1 Michael Spector CLA 2009-05-30 10:58:28 EDT

*** This bug has been marked as a duplicate of bug 251063 ***
Comment 2 Gadi Goldbarg CLA 2009-06-05 10:15:53 EDT
Not exactly duplicate ...
bug 251063 seems fixed but the described behaviour here is still the same.
CA in "cla|" case gives you class keyword, some functions and class template.
Hitting the backspace (only cl| remains) affects the CA in the following way: only the 4 templates class, cln, closure, cls are given (class keyword and functions vanished)

Reopening
Sylvia Tancheva
Comment 3 Zhongwei Zhao CLA 2010-01-28 05:08:09 EST
Created attachment 157506 [details]
patch
Comment 4 Zhongwei Zhao CLA 2010-03-09 21:06:21 EST
Created attachment 161559 [details]
patch
Comment 5 Roy Ganor CLA 2010-03-10 02:58:58 EST
Moving to the DLTK issue.
Needs to be verified to see if all adopters agree on this patch.
Comment 6 Zhongwei Zhao CLA 2010-03-10 03:33:46 EST
But i think only pdt has seperate template(comment) code assist.
If there is only one code assist catogery,it is hard to reproduce this bug.
Comment 7 Alex Panchenko CLA 2010-03-16 00:32:24 EDT
Looks good.