This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 52909 - The CC doesn work before >
Summary: The CC doesn work before >
Status: CLOSED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: REGRESSION
: 52943 52986 (view as bug list)
Depends on: 53417
Blocks:
  Show dependency tree
 
Reported: 2005-01-04 15:41 UTC by Petr Pisl
Modified: 2009-05-18 10:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2005-01-04 15:41:04 UTC
Write in a html file <a |> and invoke the CC on
possition where char | is. No items are offered.
When you write <a | > (space between cursor and >)
then the CC works.
Comment 1 Petr Pisl 2005-01-05 10:00:00 UTC
*** Issue 52943 has been marked as a duplicate of this issue. ***
Comment 2 Marek Fukala 2005-01-10 10:25:37 UTC
I have a fix for this problem, but I will integrate it tomorrow since
HTML syntax classes are going to be moved to a separate module HTML
and the classes move is already prepared.
Comment 3 Jiri Kovalsky 2005-01-12 11:35:26 UTC
*** Issue 52986 has been marked as a duplicate of this issue. ***
Comment 4 Marek Fukala 2005-01-12 20:31:57 UTC
fixed in trunk

Checking in HTMLCompletionQuery.java;
/cvs/html/editor/lib/src/org/netbeans/editor/ext/html/HTMLCompletionQuery.java,v
 <--  HTMLCompletionQuery.java
new revision: 1.3; previous revision: 1.2
done
Checking in HTMLSyntaxSupport.java;
/cvs/html/editor/lib/src/org/netbeans/editor/ext/html/HTMLSyntaxSupport.java,v
 <--  HTMLSyntaxSupport.java
new revision: 1.3; previous revision: 1.2
done
Comment 5 Jiri Kovalsky 2005-01-14 15:39:39 UTC
I am sorry for reopening but it still does not work fully. Check this:

1. Have cursor at position | in the following text:

<h1 |>
2. Invoke code completion, it shows up.
3. Type 'a' char. The suggestions disappear.
Comment 6 Marek Fukala 2005-01-14 16:19:29 UTC
The problem is caused by a bug in HTML syntax parser. I created a new
issue and make this depending on it.
Comment 7 Marek Fukala 2005-01-14 16:31:22 UTC
this issue depends on issue #53417
Comment 8 Marek Fukala 2005-02-10 09:20:24 UTC
fixed the last problem.

Checking in HTMLCompletionQuery.java;
/cvs/html/editor/lib/src/org/netbeans/editor/ext/html/HTMLCompletionQuery.java,v
 <--  HTMLCompletionQuery.java
new revision: 1.6; previous revision: 1.5
done
Comment 9 zikmund 2005-02-14 14:47:21 UTC
Verified.