Merge pull request #106683 from dalexeev/gds-remove-leftmost-rightmost-column
GDScript: Remove `leftmost_column` and `rightmost_column` fields
This commit is contained in:
@ -218,7 +218,6 @@ public:
|
||||
/* EDITOR FUNCTIONS */
|
||||
struct Warning {
|
||||
int start_line = -1, end_line = -1;
|
||||
int leftmost_column = -1, rightmost_column = -1;
|
||||
int code;
|
||||
String string_code;
|
||||
String message;
|
||||
|
||||
@ -339,8 +339,6 @@ public:
|
||||
Dictionary warn = warning;
|
||||
ERR_CONTINUE(!warn.has("start_line"));
|
||||
ERR_CONTINUE(!warn.has("end_line"));
|
||||
ERR_CONTINUE(!warn.has("leftmost_column"));
|
||||
ERR_CONTINUE(!warn.has("rightmost_column"));
|
||||
ERR_CONTINUE(!warn.has("code"));
|
||||
ERR_CONTINUE(!warn.has("string_code"));
|
||||
ERR_CONTINUE(!warn.has("message"));
|
||||
@ -348,8 +346,6 @@ public:
|
||||
Warning swarn;
|
||||
swarn.start_line = warn["start_line"];
|
||||
swarn.end_line = warn["end_line"];
|
||||
swarn.leftmost_column = warn["leftmost_column"];
|
||||
swarn.rightmost_column = warn["rightmost_column"];
|
||||
swarn.code = warn["code"];
|
||||
swarn.string_code = warn["string_code"];
|
||||
swarn.message = warn["message"];
|
||||
|
||||
Reference in New Issue
Block a user