Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Python Code Completion
ollydbg:
--- Code: ---+bool FortranProject::IsProviderFor(cbEditor *cb)
+{
+ if (!ed
+ || !m_pNativeParser->IsFileFortran(ed->GetShortName())
+ || !Manager::Get()->GetConfigManager(_T("fortran_project"))->ReadBool(_T("/use_code_completion"), true))
+ {
+ return;
+ }
+}
+
--- End code ---
return true or false?
dmoore:
oops ;D
false
and return true outside the block.
MortenMacFly:
--- Quote from: dmoore on October 24, 2012, 03:36:41 am ---Here's a revised patch to try. I've made the needed change to the fortran plugin as well.
--- End quote ---
This patch does not apply for me. :-\ Furthermore, it won't work with Fortran as you provide a cbEditor* cb via the interface and then use "ed->" internally.
However, after applying this patch manually and adjusting the tiny issues I am now testing...
dmoore:
--- Quote from: MortenMacFly on October 29, 2012, 11:33:55 am ---However, after applying this patch manually and adjusting the tiny issues I am now testing...
--- End quote ---
As should now be clear I didn't test the FORTRAN bits, because I have never used it and didn't have a FORTRAN project handy. (I did test analogous patch for the python code completer which seemed to be doing the right thing)
MortenMacFly:
--- Quote from: dmoore on October 29, 2012, 01:41:53 pm ---As should now be clear I didn't test the FORTRAN bits
--- End quote ---
Maybe darmar can do some trials, too. He might have something to contribute... I'll send him a PM.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version