Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shader Editor context menu and line operations and style fix #12842

Merged
merged 1 commit into from
Nov 14, 2017

Conversation

kitbdev
Copy link
Contributor

@kitbdev kitbdev commented Nov 11, 2017

Improvements and fixes to Shader Editor
fixes #12702 and #12910
fixes multiple errors being highlighted, as mentioned in #11613
adds line edit operations to menu with shortcuts for EDIT_MOVE_LINE_UP, EDIT_MOVE_LINE_DOWN, EDIT_INDENT_LEFT, EDIT_INDENT_RIGHT, EDIT_DELETE_LINE, EDIT_CLONE_DOWN, EDIT_TOGGLE_COMMENT, EDIT_COMPLETE. These were copied from script_text_editor.cpp
context-sensitive context menu (eg. can only copy when text is selected).
fixes style of shader editor to be more similar to the script editor.
also moves swap_lines from script_text_editor.cpp to text_edit.cpp
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shader editor ignores "comment line" shortcut while script editor picks it up even when not in focus.
2 participants