 		
 		if let basePath = basePath {
 			if let string = prog.lazyfileString(basePath: basePath, error: &error) {
+				
 				sourceFileTextView.string = string
-				update()
+				sourceFileTextView.lnv_updateLineNumberView(nil)
+				updateDocumentsAndUserInterface()
 			}
 			
 			if let error = error {

		
	}
	
	override var representedObject: AnyObject? {
		didSet {
			// Update the view, if already loaded.
		}
	}
	
	func update() {
		
		analyzer.platform = Platform(rawValue: platformSegControl.selectedSegment)
		
		if let sourceString = sourceFileTextView.string {
			analyzer.inputString = sourceString
		}
		
		analyzer.process()
		
		updateUserInterfaceSettings()
	}
	
	@IBAction func updateButtonActionPerformed(sender: AnyObject) {
		
		update()
	}
	
	@IBAction func exportButtonActionPerformed(sender: AnyObject) {

		} else {
			
			sourceFileTextView.string = ""
			sourceFileTextView.lnv_updateLineNumberView(nil)
			updateDocumentsAndUserInterface()
			
			self.updateControlSettings(enabled:false)
		}
