Code templates in Completion List box >> non-printable char

Started by Stefan, March 02, 2009, 10:51:41 PM

Previous topic - Next topic

Stefan

631 - the view of tool tip is better now.


\r will align the whole line,
not only the text part following the \r
"vbYes\r6 Yes"  will be completely on the right

TABs and \r is not taken into account. (see pic)

Properly with space align text is not well displayed.

Can you do something?
Can you add \t ?
vbYes\t6 Yes
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

Hello Stefan,

1) \t is not supported
2) \l \c \r are line based. So in you case result is like designed.

Tooltip is used internally, and for me formatting was enough. Parsing and drawing is self made so extension would be problematic.
I would try to change engine or extend existign rules, but do not know when...
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Stefan

OK, so i will see what i can do with what i have, thx
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Stefan

Quote from: Stefan on March 10, 2009, 05:13:26 PM
Can you told your tool tip engine
to show the tip above or below the cursor-position,
related where the cursor is on screen?

632

Hi Alex, an another tool tip issue, this time on left/right placement. Please see picture for description...
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

Hi Stefan,

Yes, I can reproduce it. Would be fixed next beta.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Stefan

637
well, ( i guess because of my tool tips are this long ), ...
the displaying is not always in a satisfactory manner,... both for C+S+Sp and code hints,
and depending at what place in document i am while calling this function,...
but it's good enough.

(i know you say this tool tips are not designed for such issues, but i'll try)

Thank you Alex :D :thumpsup:

.
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

Hi Stefan,

of course if you would have a tooltip that is longer then screen size you would always get a problem. Why not to use \n inside ? ;)

Best regards,
Alex
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Stefan

Quote from: alex on March 27, 2009, 02:20:24 PM
of course if you would have a tooltip that is longer then screen size you would always get a problem.
I think i have assumed that there will be an "language build-in" algorithm to always proper display an tool tip, no matter from where i call it.

QuoteWhy not to use \n inside ? ;)

::) of course, yes  :o
will do :D

THX
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

QuoteI think i have assumed that there will be an "language build-in" algorithm to always proper display an tool tip, no matter from where i call it.
I am trying that, but what to do in case it does not fit to screen?

Of course I can also think about auto - wrapping of the text in tooltip...
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Stefan

no-no-no,   it's O.K. like it is.   Let me first try to use \n 's

Because i currently updating basic/vbs syntax with "descr" 's i will see the effect this weekend.
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Stefan

If i use TABs in tool tip (descr=" ") i get this rectangles too (see pic).  Just FYI, i will replace tabs by spaces.
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

Hi Stefan,

I would tell that expanding of the tabs in tooltips is one more limitation :/
It is not implemented yet. I have placed this into todo, and would implement next time when would check also layoting properties for tooltip.

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]