Author Topic: Hi i need a bit of help concerning latest CB  (Read 4515 times)

Offline h3x

  • Single posting newcomer
  • *
  • Posts: 3
Hi i need a bit of help concerning latest CB
« on: December 30, 2012, 01:05:31 am »
When i type a std:: function like for example std::min(|) and place my cursor inside to brackets a list of parameters comes up.While it's mostly helpful sometimes it can block the cursor which is kinda a pain. Which plugin disables this?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Hi i need a bit of help concerning latest CB
« Reply #1 on: December 30, 2012, 01:22:04 am »
Which plugin disables this?
Code completion, but I doubt you want to disable this lugin.

Can you tell us your OS and C::B versions?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline h3x

  • Single posting newcomer
  • *
  • Posts: 3
Re: Hi i need a bit of help concerning latest CB
« Reply #2 on: December 30, 2012, 01:29:16 am »
C::B is latest stable version from codeblocks.org > downloads (12.11 i think)

And OS is Linux Mint 14 'nadia'.


zabzonk

  • Guest
Re: Hi i need a bit of help concerning latest CB
« Reply #3 on: December 30, 2012, 01:30:15 pm »
I agree, this is very irritating, and has been complained about quite a bit here. It only causes a problem when the line being completed is at the bottom of the editor pane, so one work-round is not to let the line get to the bottom! You can make the editor do this by using the less than clearly named Settings|Editor|Editor Tweaks|Editor Caret Buffer option, which keeps the editor insertion point away from the bottom of the editor.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Hi i need a bit of help concerning latest CB
« Reply #4 on: December 30, 2012, 03:43:30 pm »
As far as I can see, this line causes the problem:
Code
------------------ src/sdk/wxscintilla/src/ScintillaWX.cpp -------------------
index 41257d5..e8c49b6 100644
@@ -821,7 +821,7 @@ sptr_t ScintillaWX::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam)
           Point pt = LocationFromPosition(wParam);
           char* defn = reinterpret_cast<char *>(lParam);
           AutoCompleteCancel();
-          pt.y += vs.lineHeight;
+          //pt.y += vs.lineHeight;
 /* C::B begin */
           /* This fix will allow you to actually modify the calltip font (it
            * was hardcoded to STYLE_DEFAULT instead of allowing user to
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Hi i need a bit of help concerning latest CB
« Reply #5 on: January 01, 2013, 02:32:19 pm »
Should be fixed in  trunk, please test on windows...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]