Cleanup: format
This commit is contained in:
@@ -261,8 +261,13 @@ ListBase CTX_data_collection_get(const bContext *C, const char *member);
|
||||
*/
|
||||
ListBase CTX_data_dir_get_ex(const bContext *C, bool use_store, bool use_rna, bool use_all);
|
||||
ListBase CTX_data_dir_get(const bContext *C);
|
||||
int /*eContextResult*/ CTX_data_get(
|
||||
const bContext *C, const char *member, PointerRNA *r_ptr, ListBase *r_lb, PropertyRNA **r_prop, int *r_index, short *r_type);
|
||||
int /*eContextResult*/ CTX_data_get(const bContext *C,
|
||||
const char *member,
|
||||
PointerRNA *r_ptr,
|
||||
ListBase *r_lb,
|
||||
PropertyRNA **r_prop,
|
||||
int *r_index,
|
||||
short *r_type);
|
||||
|
||||
void CTX_data_id_pointer_set(bContextDataResult *result, struct ID *id);
|
||||
void CTX_data_pointer_set_ptr(bContextDataResult *result, const PointerRNA *ptr);
|
||||
@@ -273,7 +278,8 @@ void CTX_data_list_add_ptr(bContextDataResult *result, const PointerRNA *ptr);
|
||||
void CTX_data_list_add(bContextDataResult *result, struct ID *id, StructRNA *type, void *data);
|
||||
|
||||
/**
|
||||
* Stores a property in a result. Make sure to also call 'CTX_data_type_set(result, CTX_DATA_TYPE_PROPERTY)'.
|
||||
* Stores a property in a result. Make sure to also call
|
||||
* `CTX_data_type_set(result, CTX_DATA_TYPE_PROPERTY)`.
|
||||
* \param result: The result to store the property in.
|
||||
* \param prop: The property to store.
|
||||
* \param index: The particular index in the property to store.
|
||||
|
||||
@@ -498,8 +498,13 @@ ListBase CTX_data_collection_get(const bContext *C, const char *member)
|
||||
return list;
|
||||
}
|
||||
|
||||
int /*eContextResult*/ CTX_data_get(
|
||||
const bContext *C, const char *member, PointerRNA *r_ptr, ListBase *r_lb, PropertyRNA **r_prop, int *r_index, short *r_type)
|
||||
int /*eContextResult*/ CTX_data_get(const bContext *C,
|
||||
const char *member,
|
||||
PointerRNA *r_ptr,
|
||||
ListBase *r_lb,
|
||||
PropertyRNA **r_prop,
|
||||
int *r_index,
|
||||
short *r_type)
|
||||
{
|
||||
bContextDataResult result;
|
||||
eContextResult ret = ctx_data_get((bContext *)C, member, &result);
|
||||
|
||||
@@ -35,16 +35,16 @@
|
||||
#include "console_intern.h"
|
||||
|
||||
/* TODO: Text operations not yet supported for console:
|
||||
* Mac KM_OSKEY-arrow to beginning/end of line
|
||||
* Mac KM_OSKEY-backspace to start of line
|
||||
* Mac KM_OSKEY-delete to end of line
|
||||
* Text cursor insertion by mouse
|
||||
* Mouse drag to select does not change text cursor position.
|
||||
* Shift-ctrl-arrow to select word
|
||||
* ctrl-x to copy to clipboard and delete.
|
||||
* ctrl-a to select all
|
||||
* ctrl-z,shift-crtrl-z undo/redo
|
||||
*/
|
||||
* Mac KM_OSKEY-arrow to beginning/end of line
|
||||
* Mac KM_OSKEY-backspace to start of line
|
||||
* Mac KM_OSKEY-delete to end of line
|
||||
* Text cursor insertion by mouse
|
||||
* Mouse drag to select does not change text cursor position.
|
||||
* Shift-ctrl-arrow to select word
|
||||
* ctrl-x to copy to clipboard and delete.
|
||||
* ctrl-a to select all
|
||||
* ctrl-z,shift-crtrl-z undo/redo
|
||||
*/
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Utilities
|
||||
|
||||
Reference in New Issue
Block a user