FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
UnrealEnginePython/Source/PythonEditor/Private/SPythonEditor.h at master · 20tab/UnrealEnginePython · GitHub
20tab
UnrealEnginePython
Repository navigation
Code
Issues
338
(338)
Pull requests
32
(32)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
UnrealEnginePython
/
Source
/
PythonEditor
/
Private
/
SPythonEditor.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
43 lines (28 loc) · 896 Bytes
Breadcrumbs
UnrealEnginePython
/
Source
/
PythonEditor
/
Private
/
SPythonEditor.h
Copy path
File metadata and controls
43 lines (28 loc) · 896 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#
pragma
once
#
include
"
SlateCore.h
"
#
include
"
Runtime/Slate/Public/Widgets/Layout/SScrollBar.h
"
class
SPythonEditor
:
public
SCompoundWidget
{
public:
SLATE_BEGIN_ARGS
(SPythonEditor) {}
SLATE_END_ARGS
()
void
Construct
(
const
FArguments& InArgs,
class
UPythonProjectItem
* InPythonProjectItem);
bool
Save
()
const
;
bool
CanSave
()
const
;
void
Execute
()
const
;
#
if
PLATFORM_MAC
void
ExecuteInMainThread
()
const
;
#
endif
void
GotoLineAndColumn
(int32 LineNumber, int32 ColumnNumber);
void
PEP8ize
()
const
;
private:
void
OnTextChanged
(
const
FText& NewText);
FText
GetLineAndColumn
()
const
;
protected:
class
UPythonProjectItem
* PythonProjectItem;
TSharedPtr<SScrollBar> HorizontalScrollbar;
TSharedPtr<SScrollBar> VerticalScrollbar;
TSharedPtr<
class
SPythonEditableText
> PythonEditableText;
mutable
bool
bDirty;
};
Back
|
FazBrowse Home
|
New Git URL