Posted 14 years ago by Radventure B.V
Avatar
At the moment I'm caculating the actual linewidth (in number of characters) of the editor with the following code:

this.LineWidth = (this._editor.Size.Width - this._editor.IndicatorMarginWidth - this._editor.LineNumberMarginWidth) / this._editor.CharacterWidth - 5;

Which is acurate enough for now, but you guys must already also have an internal property with the linewidth in order to make the automatic line wrapping work. Could you guys make this property public in the next version?

Hope this is possible,

Erik Pepping
At the moment I'm calculating the actual line width (in number of characters) of the editor with the following code:

this.LineWidth = (this._editor.Size.Width - this._editor.IndicatorMarginWidth - this._editor.LineNumberMarginWidth) / this._editor.CharacterWidth - 5;

Which is accurate enough for now, but you guys must already also have an internal property with the line width in order to make the automatic line wrapping work. Could you guys make this property public in the next version?

Hope this is possible,

Erik Pepping

Comments (2)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
We do have an internal property that we can expose for that.


Actipro Software Support

Posted 14 years ago by Radventure B.V
Avatar
Thanks again!

Erik Pepping
The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.