Word wrap not working in code editor
#1
Posted 09 June 2012 - 10:19 PM
#2
Posted 11 June 2012 - 06:42 PM
And if there was one....I'd take it out
#3
Posted 13 June 2012 - 02:20 PM
There is no line wrap in the code editor. Code should never auto-wrap as it can easily confuse things and introduce bugs.
And if there was one....I'd take it out
Personally, I would say that one giant long line of text is far more confusing than a neat indented program.
#4
Posted 16 June 2012 - 12:16 PM
#5
Posted 16 June 2012 - 03:19 PM
When you write your code, will you ever write an entire script out in 1 line?Personally, I would say that one giant long line of text is far more confusing than a neat indented program.
If you will, I suggest you start watching some programming tutorials.
Pasting into a document is a far different thing.
As Mike said, split it yourself.
Word-wrap = software specific, not a "global" concept.
#6
Posted 16 June 2012 - 08:05 PM
That is strange because sometimes I have copied large amounts from notepad into the code editor and the formatting is retained, but mostly it is not.When you write your code, will you ever write an entire script out in 1 line?Personally, I would say that one giant long line of text is far more confusing than a neat indented program.
If you will, I suggest you start watching some programming tutorials.
Pasting into a document is a far different thing.
As Mike said, split it yourself.
Word-wrap = software specific, not a "global" concept.
#7
Posted 16 June 2012 - 09:06 PM
That's because that piece of text had been manually formatted.That is strange because sometimes I have copied large amounts from notepad into the code editor and the formatting is retained, but mostly it is not.
When it works: manually formatted.
When it fails: word-wrap.
#8
Posted 16 June 2012 - 09:24 PM
Do you have code that originally was formatted and you paste and it is not formatted anymore? Loosing all the line breaks that was there?
It happens some times.
What I do is use Notepad++ (google and go get it) and paste it there. then I tell notepad++ to "menu/Format/Convert to Windows Format". re-copy and paste in GM....
#9
Posted 17 June 2012 - 01:49 PM
I think people may have misread the problem.
Do you have code that originally was formatted and you paste and it is not formatted anymore? Loosing all the line breaks that was there?
It happens some times.
What I do is use Notepad++ (google and go get it) and paste it there. then I tell notepad++ to "menu/Format/Convert to Windows Format". re-copy and paste in GM....
Thanks very much. That will be a fine replacement to Notepad.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











