Class orion.editor.AbstractStyler
				
				
			
				A styler that does nothing, but can be extended by concrete stylers. To extend, call 
orion.editor.AbstractStyler.extend and provide implementations of one or more of
the #_onSelection, #_onModelChanged, #_onDestroy and #_onLineStyle methods.
				
				
					
Defined in:  </shared/eclipse/e4/orion/I201107200200/plugins/org.eclipse.orion.client.editor/web/orion/editor/textMateStyler.js>.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| Method Attributes | Method Name and Description | 
|---|---|
| 
								 _onDestroy(destroyEvent)
								 
								To be overridden by subclass. 
							 | 
						|
| 
								 _onLineStyle(lineStyleEvent)
								 
								To be overridden by subclass. 
							 | 
						|
| 
								 _onModelChanged(modelChangedEvent)
								 
								To be overridden by subclass. 
							 | 
						|
| 
								 _onSelection(selectionEvent)
								 
								To be overridden by subclass. 
							 | 
						|
| 
								 destroy()
								 
								Destroys this styler and removes all listeners. 
							 | 
						|
| <static> | 
								 orion.editor.AbstractStyler.extend(subCtor, proto)
								 
								Helper for extending orion.editor.AbstractStyler. 
							 | 
						
| 
								 initialize(textView)
								 
								Initializes this styler with a TextView. 
							 | 
						
					Method Detail
				
				
					 
					
					
					
					_onDestroy(destroyEvent)
					
					
					
						To be overridden by subclass.
						
						
					
					
					
					
						
							- Parameters:
 - {eclipse.DestroyEvent} destroyEvent
 
					
					
					_onLineStyle(lineStyleEvent)
					
					
					
						To be overridden by subclass.
						
						
					
					
					
					
						
							- Parameters:
 - {eclipse.LineStyleEvent} lineStyleEvent
 
					
					
					_onModelChanged(modelChangedEvent)
					
					
					
						To be overridden by subclass.
						
						
					
					
					
					
						
							- Parameters:
 - {eclipse.ModelChangedEvent} modelChangedEvent
 
					
					
					_onSelection(selectionEvent)
					
					
					
						To be overridden by subclass.
						
						
					
					
					
					
						
							- Parameters:
 - {eclipse.SelectionEvent} selectionEvent
 
					
					
					destroy()
					
					
					
						Destroys this styler and removes all listeners. Called by the editor.
						
						
					
					
					
					
						
						
						
						
						
						
						
					<static> 
					
					
					orion.editor.AbstractStyler.extend(subCtor, proto)
					
					
					
						Helper for extending orion.editor.AbstractStyler.
						
						
					
					
					
					
						
							- Parameters:
 - {Function} subCtor
 - The constructor function for the subclass.
 - {Object} proto Optional
 - Object to be mixed into the subclass's prototype. This object should contain your implementation of _onSelection, _onModelChanged, etc.
 
					
					
					initialize(textView)
					
					
					
						Initializes this styler with a TextView. If you are extending AbstractStyler,
you must call this from your subclass's constructor function.
						
						
					
					
					
					
						
							- Parameters:
 - {orion.textview.TextView} textView
 - The TextView to provide styling for.