Bug 492550 - Add information to N&N instructions how to do code quotes correctly
Summary: Add information to N&N instructions how to do code quotes correctly
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Website (show other bugs)
Version: 4.4   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Lars Vogel CLA
QA Contact:
URL:
Whiteboard:
Keywords: Documentation
Depends on:
Blocks:
 
Reported: 2016-04-27 09:49 EDT by Lars Vogel CLA
Modified: 2016-10-26 03:37 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2016-04-27 09:49:42 EDT
AFAICS we do not have instructions for code examples. 

I see for example entries, like:

<pre>
    		<code>
				ISWTObservableValue personFirstNameTextObservable = WidgetProperties.text(SWT.Modify)
					.observe(personFirstNameText);
...
			</code>
		</pre>

which I think are not what we want. I think we want

<pre>
    	
ISWTObservableValue personFirstNameTextObservable = WidgetProperties.text(SWT.Modify).observe(personFirstNameText);
...
</pre>
Comment 1 Lars Vogel CLA 2016-10-26 03:36:30 EDT
The edited version of https://www.eclipse.org/eclipse/news/4.7/M2 contains <pre><code> so this seems to be an accepted way