Posted 19 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 19 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 19 years ago by Radventure B.V
Avatar
Thanks again!

Erik Pepping
The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.