Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: CodeEditor, Assist++, Topic++ » CodeEditor automatic carriage return
CodeEditor automatic carriage return [message #48980] Thu, 16 November 2017 10:50 Go to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I was not able to find a method that automatically break or continue the line in a new row when the cursor reach the right border of the window.
I would like to use the CodeEditor to write markdown text.

Thanks,
Luigi
Re: CodeEditor automatic carriage return [message #48981 is a reply to message #48980] Fri, 17 November 2017 09:15 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Makes sense, implemented:

CodeEditor::WordWrap

and option in theide.
Re: CodeEditor automatic carriage return [message #48995 is a reply to message #48981] Sun, 19 November 2017 21:49 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
mirek wrote on Fri, 17 November 2017 09:15
Makes sense, implemented:

CodeEditor::WordWrap


Thanks!
I tried

.WordWrap(true)

and even false, but the text continue to stay on the same row overcoming the right border window.
Should I use it with someother option? At moment my codeeditor is in the right side of a splitterctrl.

Even WordwrapComments that is set in theIde seems do not work.

Thanks,
Luigi
Re: CodeEditor automatic carriage return [message #48997 is a reply to message #48995] Sun, 19 November 2017 23:32 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I works in theide (check).

My bet is you do not have the right margin set.
Re: CodeEditor automatic carriage return [message #48999 is a reply to message #48997] Mon, 20 November 2017 16:38 Go to previous message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
mirek wrote on Sun, 19 November 2017 23:32

My bet is you do not have the right margin set.


You are right. I didn't know to set it with
.BorderColumn(int col);

Thanks,
Luigi
Previous Topic: Serialize CodeEditor
Next Topic: New page
Goto Forum:
  


Current Time: Thu Mar 28 11:32:02 CET 2024

Total time taken to generate the page: 0.01333 seconds