Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: szurilo on September 08, 2008, 12:24:04 pm

Title: autocomplete shorten names
Post by: szurilo on September 08, 2008, 12:24:04 pm
Hi!
I notice my IDE shorten the name of the matches that code-completion found.
Is it a new feature or i set this thing accidentally(with a hotkey i don't know)?
If it was an accident how can i change back the code-completion to write out the full name of the functions, etc.
Szurilo
Title: Re: autocomplete shorten names
Post by: szurilo on September 10, 2008, 10:26:32 am
Do you understand the question? Or just nobody know the answer.
Szurilo
Title: Re: autocomplete shorten names
Post by: szurilo on September 12, 2008, 09:52:07 am
This is still a question.

Szurilo
Title: Re: autocomplete shorten names
Post by: MortenMacFly on September 12, 2008, 11:35:47 am
Do you understand the question?
Not really. Can you provide a screenshot?
Title: Re: autocomplete shorten names
Post by: szurilo on September 12, 2008, 12:09:30 pm
This is an example where you didn't see the first four elements what code-completion found.
It isn't a problem in this case but if code-completion found only one element that will be also shortened.
Unfortunately i can't provide a screenshot about that but i had this situation before.
This isn't a big problem, i just want to know whether it is a modifiable behavior that i set by accident or this is a default behavior.

Szurilo

[attachment deleted by admin]
Title: Re: autocomplete shorten names
Post by: MortenMacFly on September 12, 2008, 02:44:21 pm
Mmmmmh. This is really weird. When I do the same I see no shortened members:
(http://img119.imageshack.us/img119/3236/huhfg4.th.png) (http://img119.imageshack.us/my.php?image=huhfg4.png)

In fact I never saw such... that's why I was asking. But I also don't see why this happens in your case. Do you have any special font setup in you OS? Something like 120 DPI or alike?!


Anyone else that can reproduce??? Other devs???
Title: Re: autocomplete shorten names
Post by: szurilo on September 12, 2008, 04:44:04 pm
Well this is a workplace machine, isn't mine, so it wasn't me who installed the OS.
Anyway i am not familiar with fonts.
If you want i can send a list what fonts i have.
Start menu->Control Panel->Fonts

Or tell me what to do.

Szurilo
Title: Re: autocomplete shorten names
Post by: Jenna on September 12, 2008, 10:30:13 pm
It works for me fine on linux and win, even if I set the dpi to 120 (on win).
The size of the Codecompletion Listbox gets calculated by (wx)scintilla and can not be set by the user (at least not without changing the sources and recompilation of C::B).

Which font do you use for C::B ("Settings -> Editor... -> Font -> Choose...") ?

Which version of C::B is installed ?
If self-compiled, against which version of wxWidgets ?

I don't have an idea what happened, but I want to try to reproduce it, so I think as many information as possible is needed.
Title: Re: autocomplete shorten names
Post by: Ramazan Kartal on September 13, 2008, 05:59:45 am
Hi,

I guess I have this same problem. Please see the attachment. I am using inconsolata font available from http://www.levien.com/type/myfonts/inconsolata.html (http://www.levien.com/type/myfonts/inconsolata.html). When I was using 10 points font size there was no problem, but after starting using 11 points size sometimes this happens.

Regards,
Ramazan Kartal

CodeBlocks svn5193 build aug 23, 2008 - 18:14:57 wx2.8.8

[attachment deleted by admin]
Title: Re: autocomplete shorten names
Post by: szurilo on September 15, 2008, 11:02:12 am
Hi,
I use Verdana, Regular, size 8.
Default encoding is UTF-8.
C::B nightly 5195
wxWidgets 2.8.8(windows, unicode)

Szurilo