1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Open file preview in text editor.

This commit is contained in:
Bartosz Taudul
2018-08-17 14:54:28 +02:00
parent 9dbc56beb6
commit 5bd35eb34e
2 changed files with 39 additions and 1 deletions
+2
View File
@@ -58,6 +58,7 @@ private:
};
void InitTextEditor();
void SetTextEditorFile( const char* fileName, int line );
const char* ShortenNamespace( const char* name ) const;
@@ -234,6 +235,7 @@ private:
Vector<const GpuEvent*> m_gpuInfoStack;
std::unique_ptr<TextEditor> m_textEditor;
const char* m_textEditorFile;
struct FindZone {
enum : uint64_t { Unselected = std::numeric_limits<uint64_t>::max() - 1 };