Class orion.SyntaxChecker
				
				
			
				Provides access to validation services registered with the service registry.
				
				
					
Defined in:  </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.ui/web/orion/syntaxchecker.js>.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| Provides access to validation services registered with the service registry. | 
| Method Attributes | Method Name and Description | 
|---|---|
| checkSyntax(contentType, loc, message, contents, editorContext)
								 Looks up applicable validators, calls them to obtain problems, passes problems to the marker service. | |
| getValidators(loc, contentType)
								 | |
| initialize(loc, contentType)
								 | |
| setTextModel(model)
								 Allows the text model to be set | 
					Class Detail
				
				
				
						orion.SyntaxChecker()
				
				
				
					Provides access to validation services registered with the service registry.
					
				
				
				
				
				
					
					
					
					
					
					
					
			
					Method Detail
				
				
					 
					
					
					{Array.
					checkSyntax(contentType, loc, message, contents, editorContext)
					
					
					
						Looks up applicable validators, calls them to obtain problems, passes problems to the marker service.
						
						
					
					
					
					
						
							- Parameters:
- {Object} contentType
- The content type of the file to check
- {String} loc
- The fully qualified path of the file to check
- {String} message
- The message to display
- {String} contents
- The file contents to check
- {Object} editorContext
- The backing editor content to run with
- Returns:
- {Array. The array of problem objects or the empty array
- See:
- https://wiki.eclipse.org/Orion/Documentation/Developer_Guide/Plugging_into_the_editor#The_Problem_object
					
					
					getValidators(loc, contentType)
					
					
					- Parameters:
- loc
- contentType
					
					
					initialize(loc, contentType)
					
					
					- Parameters:
- loc
- contentType
					
					
					setTextModel(model)
					
					
					
						Allows the text model to be set
						
						
					
					
					
					
						
							- Parameters:
- {editor.TextModel} model
- The new model to set