mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 01:22:43 +00:00 
			
		
		
		
	 75ee77f8a1
			
		
	
	
		75ee77f8a1
		
	
	
	
	
		
			
			Also renames ServerConnectionWrapper=>ConnectionToServerWrapper and ServerConnectionInstances=>ConnectionToServerInstances This was done with CLion's automatic rename feature.
		
			
				
	
	
		
			30 lines
		
	
	
	
		
			719 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
	
		
			719 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2020, the SerenityOS developers.
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include "EditorWrapper.h"
 | |
| #include "LanguageClients/ConnectionsToServer.h"
 | |
| #include "Project.h"
 | |
| #include <AK/String.h>
 | |
| #include <LibGUI/TextEditor.h>
 | |
| 
 | |
| namespace HackStudio {
 | |
| 
 | |
| GUI::TextEditor& current_editor();
 | |
| void open_file(const String&);
 | |
| RefPtr<EditorWrapper> current_editor_wrapper();
 | |
| void open_file(const String&, size_t line, size_t column);
 | |
| Project& project();
 | |
| String currently_open_file();
 | |
| void set_current_editor_wrapper(RefPtr<EditorWrapper>);
 | |
| void for_each_open_file(Function<void(ProjectFile const&)>);
 | |
| bool semantic_syntax_highlighting_is_enabled();
 | |
| 
 | |
| class Locator;
 | |
| Locator& locator();
 | |
| 
 | |
| }
 |