Desktop productivity for business analysts and programmers

Word wrap in SAS Enterprise Guide Program Editor

Reply
Frequent Contributor
Posts: 79

Word wrap in SAS Enterprise Guide Program Editor

[ Edited ]

Hi - Just wondering if it possible for the SAS Enterprise Guide Program Editor to wrap text?  

 

I have looked in Tools > Options but have found nothing.  

 

Long lines of code are especially difficult when using "proc odstext" (in which I had originally pressed enter within the paragraph to see all the text, but found output had squares for the newline character)

 

Edit: Example code which is not word-warpped in SAS EG

proc odstext;
	p '^{style[color=purple fontweight=bold]Definition 1:} Lorem ipsum dolor sit amet, no accusata gubergren disputando duo. Vis eu graeco recusabo laboramus, aliquip tritani sea in, ad saepe meliore sit. His meis viderer pertinax cu. Cu aeque vocent molestiae vel, utamur constituto duo ut. Option consequuntur vis te, eum ne illum nulla tacimates, et tation iisque adipisci sed. Et eam menandri euripidis splendide. Ex mel vide lobortis tractatos, eu ullum quaeque pri, mea te movet accumsan. Usu ut scripserit theophrastus. His at veri partem. Vidit dictas sed eu.';
	p '^{style[color=purple fontweight=bold]Definition 2:} Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.';
	p '^{style[color=purple fontweight=bold]Definition 3:} Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?';
run;
Super Contributor
Posts: 259

Re: Word wrap in SAS Enterprise Guide Program Editor

Try using "Format code" option.  

 

Open your program in SAS EG. Then Go To "Edit" Menu ---> "Format Code"

Shortcut is CTRL + I .

Frequent Contributor
Posts: 79

Re: Word wrap in SAS Enterprise Guide Program Editor

[ Edited ]

Thanks for your reply - however code within the proc odstext paragraphs are not wrapped using this method.  I just added example code to the original topic (should've done so in the first instance.. sorry!)

Ask a Question
Discussion stats
  • 2 replies
  • 686 views
  • 0 likes
  • 2 in conversation