djriave
I want to document my scripts using TheBrain including code samples

The following code snippet looks like a run on sentence when copied into a Note

CREATE TABLE Test
(
CycleDate DATE NOT NULL ,
AccountNo VARCHAR(25) NULL ,
AcctItemolD INT NULL,
)
ON [PRIMARY]

Any help appreciated.

Quote
djriave
Here's what the code looks like when copied to the Note

CREATE TABLE [UAP10].[S050T01670_CycleResultsCumulated] ( CycleDate DATE NOT NULL , AccountNo VARCHAR(25) NULL , AcctItemolD INT NULL, ) ON [PRIMARY]
Quote
zenrain
Weird. I copied and pasted the text you posted above into notes formatted as code:
CodeNote.png 

And then just a regular note:

Note.png 
I then pasted your text into a text file, and then copied and pasted. Same results. (Note: All testing done with OS X). 
Perhaps someone can test on Windows and see what happens?
macOS 10.14.6
TheBrain 11.0.119
Quote
perry
The newline character/s are not caught on my machine as well (Win10).

Even in an existing note:
  1. Type One{ENTER}Two{ENTER}Three{ENTER}
  2. Highlight and copy
  3. Move to bottom and paste

Screenshot - 8_02_2016 , 1_03_08 PM.png

edit: actually it seems that all the original formatting is lost on copy / paste from existing notes? Try copying a Heading and pasting it within a note. Mine is inserted as 'Normal Paragraph' with any inline formatting removed.
Quote
djriave
Thanks for the confirmation.

I forgot to mention my formatting issue was also on Win10
Quote
mcaton
Thanks for posting.  I have these issues documented for further review.  I'm seeing the same results (run on sentence) in Windows.

Thank you,
Matt
Quote
Harlan
There are many changes to the way copy and paste formatting works coming in the next release (9.0.81+).
Regards,
-Harlan
Quote
djriave
This code format issue has been fixed in the latest version.
Thanks
David Riave
Quote
pthompson
Great. Thanks for lettings us know! 
Quote

Newsletter Signup  Newsletter        Visit TheBrain Blog   Blog       Follow us on Twitter   Twitter       Like Us on Facebook   Facebook         Watch Us on Youtube  YouTube       

TheBrain Mind Map & Mindmapping Software     Download TheBrain Mind Mapping Software