User forums > General (but related to Code::Blocks)

Hi i need a bit of help concerning latest CB

(1/2) > >>

h3x:
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?

oBFusCATed:

--- Quote from: h3x on December 30, 2012, 01:05:31 am ---Which plugin disables this?

--- End quote ---
Code completion, but I doubt you want to disable this lugin.

Can you tell us your OS and C::B versions?

h3x:
C::B is latest stable version from codeblocks.org > downloads (12.11 i think)

And OS is Linux Mint 14 'nadia'.

zabzonk:
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.

oBFusCATed:
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

--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version