Author Topic: Size and Coordinated of the Text Editor  (Read 9859 times)

samidha

  • Guest
Size and Coordinated of the Text Editor
« on: February 19, 2016, 07:21:44 pm »
Hello all !

I am working on a project on Code Blocks where I need to retrieve the size and the coordinates of the text editor window in the IDE. I am not able to find the required documentation or help for the same. If anyone could direct me towards a useful documentation, it would be a huge help !

Thanks

CHAOS-THEORY

  • Guest
Re: Size and Coordinated of the Text Editor
« Reply #1 on: February 19, 2016, 08:19:21 pm »
I don't know almost anything about wxWidgets, but the editor must be a wxWidgets window.
I have checked the source and found cbeditor.h in the includes, and cbeditorprintout.h might help you, check the wxRect structures they prolly hold the size of the text editing window
There's also editorbase.h

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Size and Coordinated of the Text Editor
« Reply #2 on: February 19, 2016, 08:26:19 pm »
@samidha: Why do you need to do this?

@CHAOS-THEORY: Can you please stop using this ugly font?
(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!]

CHAOS-THEORY

  • Guest
Re: Size and Coordinated of the Text Editor
« Reply #3 on: February 19, 2016, 09:03:42 pm »
@CHAOS-THEORY: Can you please stop using this ugly font?
Nope, i like this font, and am allowed to use it.