If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
write code snippets in word documment
try to write code snippets, .net code, java code, and sql code in a word
document without any of the extra word hidden characters. anyone to shed some lights on. thanks. |
#2
|
|||
|
|||
write code snippets in word documment
On 24 nov, 06:09, george chen
wrote: try to write code snippets, .net code, java code, and sql code in a word document without any of the extra word hidden characters. *anyone to shed some lights on. * thanks. If you save your code snippets in Word as .txt files, which hidden characters do you see? Yves |
#3
|
|||
|
|||
write code snippets in word documment
You might want to apply a style such as Plain Text or Macro Text to these
code snippets. Any "hidden" (i.e., nonprinting) characters you see are just representations of spaces, tabs, and the like and will not print. They represent the same ASCII characters that would normally be used in code. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA "george chen" wrote in message ... try to write code snippets, .net code, java code, and sql code in a word document without any of the extra word hidden characters. anyone to shed some lights on. thanks. |
#4
|
|||
|
|||
write code snippets in word documment
But many code editors don't SHOW the tabs (just white space), and some
actually physically change tabs to multiple spaces while you edit. Developers just aren't used to seeing "stuff" in their code. :-) (And there's other "stuff" they are used to seeing, depending on their environments.) Dan Suzanne S. Barnhill wrote: You might want to apply a style such as Plain Text or Macro Text to these code snippets. Any "hidden" (i.e., nonprinting) characters you see are just representations of spaces, tabs, and the like and will not print. They represent the same ASCII characters that would normally be used in code. "george chen" wrote in message ... try to write code snippets, .net code, java code, and sql code in a word document without any of the extra word hidden characters. anyone to shed some lights on. thanks. |
#5
|
|||
|
|||
write code snippets in word documment
So what you're saying is that Word is not the best editor for code? g
-- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA "Dan Freeman" wrote in message ... But many code editors don't SHOW the tabs (just white space), and some actually physically change tabs to multiple spaces while you edit. Developers just aren't used to seeing "stuff" in their code. :-) (And there's other "stuff" they are used to seeing, depending on their environments.) Dan Suzanne S. Barnhill wrote: You might want to apply a style such as Plain Text or Macro Text to these code snippets. Any "hidden" (i.e., nonprinting) characters you see are just representations of spaces, tabs, and the like and will not print. They represent the same ASCII characters that would normally be used in code. "george chen" wrote in message ... try to write code snippets, .net code, java code, and sql code in a word document without any of the extra word hidden characters. anyone to shed some lights on. thanks. |
#6
|
|||
|
|||
write code snippets in word documment
I far prefer Notepad. g
Dan Suzanne S. Barnhill wrote: So what you're saying is that Word is not the best editor for code? g "Dan Freeman" wrote in message ... But many code editors don't SHOW the tabs (just white space), and some actually physically change tabs to multiple spaces while you edit. Developers just aren't used to seeing "stuff" in their code. :-) (And there's other "stuff" they are used to seeing, depending on their environments.) Dan Suzanne S. Barnhill wrote: You might want to apply a style such as Plain Text or Macro Text to these code snippets. Any "hidden" (i.e., nonprinting) characters you see are just representations of spaces, tabs, and the like and will not print. They represent the same ASCII characters that would normally be used in code. "george chen" wrote in message ... try to write code snippets, .net code, java code, and sql code in a word document without any of the extra word hidden characters. anyone to shed some lights on. thanks. |
Thread Tools | |
Display Modes | |
|
|