Forum > SynEdit

[Solved] Identifier not found "TSynEditorOptions" error

(1/1)

loaded:
Hi All,
I can download the Cheat Engine project, which is the relevant application, from https://github.com/cheat-engine/cheat-engine/ and compile it in Lazarus 2.0.10 without any problems.
But in version 2.2.0 I get the error
--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Identifier not found "TSynEditorOptions"In my research, it is recommended to use version 2.0.10 to get rid of this error. I still wanted to ask this form one last time; Maybe a master can easily solve this situation.
Can this problem be fixed in version 2.2.0? Or should I continue working in 2.0.10?

balazsszekely:

--- Quote ---Identifier not found "TSynEditorOptions"
--- End quote ---
Add SynEditTypes to uses?

loaded:

--- Quote from: GetMem on April 12, 2022, 07:38:49 am ---Add SynEditTypes to uses?

--- End quote ---

My dear master GetMem, your suggestion solved the problem;
This had never occurred to me. Because the same code compiles smoothly in 2.0.10, but there are many errors in 2.2.0.
I wonder how a change was made in 2.2.0, such a situation occurred?
Looks like I'll continue to use 2.0.10. Respects.

Navigation

[0] Message Index

Go to full version