Bug 54299 - Wrong position of Dropdown-box for selecting HTML-Tags and/or attributes
Summary: Wrong position of Dropdown-box for selecting HTML-Tags and/or attributes
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-08 16:51 UTC by Oliver Leischner
Modified: 2003-02-09 12:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
quanta2.png (56.36 KB, image/png)
2003-02-09 10:37 UTC, Oliver Leischner
Details
quanta3.png (56.40 KB, image/png)
2003-02-09 10:37 UTC, Oliver Leischner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Leischner 2003-02-08 16:51:07 UTC
Version:           3.1 (using KDE 3.1.0)
Installed from:    compiled sources
Compiler:          gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)
OS:          Linux (i686) release 2.4.19-16mdk

The Dropdown-box for HTML-Tags/Attributes will not show in those line, which is actually editing. This problem only occures with "compressed"-php-code using the symbol-boder.
Comment 1 András Manţia 2003-02-08 21:59:15 UTC
Subject: Re:  New: Wrong position of Dropdown-box for selecting HTML-Tags and/or attributes

On 2003. February 08., Saturday 17:51, you wrote:
> The Dropdown-box for HTML-Tags/Attributes will not show in those line,
> which is actually editing. This problem only occures with
> "compressed"-php-code using the symbol-boder.

Do you talk about the box that appears when  you use ALT-DownArrow? And what 
is "compressed" php-code? Can you give me an example file or send me a 
screenshot?

Andras

Comment 2 Oliver Leischner 2003-02-09 10:37:27 UTC
Subject: Re:  Wrong position of Dropdown-box for selecting HTML-Tags and/or attributes

Am Saturday 08 February 2003 21:59 schrieben Sie:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=54299
>
>
>
>
> ------- Additional Comments From amantia@freemail.hu  2003-02-08 21:59
> ------- Subject: Re:  New: Wrong position of Dropdown-box for selecting
> HTML-Tags and/or attributes
>
> On 2003. February 08., Saturday 17:51, you wrote:
> > The Dropdown-box for HTML-Tags/Attributes will not show in those line,
> > which is actually editing. This problem only occures with
> > "compressed"-php-code using the symbol-boder.
>
> Do you talk about the box that appears when  you use ALT-DownArrow? And
> what is "compressed" php-code? Can you give me an example file or send me a
> screenshot?
>
> Andras

Hello Andreas,
sorry for my poor english and the incomplete description of the bug. It's my 
secondy one and i have to learn...

I don't mean the Alt+DownArrow-box. I mean the box that appear, if you are in 
a html-tag an hit space on your keyboard. 
"compressed" is not realy the best word, but i don't know, how to describe 
this. maybe, collaped (?) ist a better word. How ever, the 2 screenschots 
will explain more.

Hope, it will help!

Ol'ver

Created an attachment (id=917)
quanta2.png

Created an attachment (id=918)
quanta3.png
Comment 3 András Manţia 2003-02-09 11:25:48 UTC
This is a bug in the kate part. The code completion box appear in a wrong place when 
a part of the odcument is folded. See the attachements. 
 
Andras 
Comment 4 Hamish Rodda 2003-02-09 12:59:27 UTC
Subject: kdelibs/kate/part

CVS commit by rodda: 

Fix cursorCoordinates() when a line range is folded.

CCMAIL:54299-done@bugs.kde.org


  M +2 -2      kateviewinternal.cpp   1.181


--- kdelibs/kate/part/kateviewinternal.cpp  #1.180:1.181
@@ -816,5 +816,5 @@ uint KateViewInternal::linesDisplayed() 
 QPoint KateViewInternal::cursorCoordinates()
 {
-  int viewLine = displayViewLine(cursor, true);
+  int viewLine = displayViewLine(displayCursor, true);
 
   if (viewLine == -1)