Views: finished handling and documenting the conditions for an existing
column to be added to a view
This commit is contained in:
@ -340,6 +340,14 @@ Obiview_p obi_open_view(OBIDMS_p dms, const char* view_name);
|
||||
/**
|
||||
* @brief Adds a column to a view.
|
||||
*
|
||||
* - If there is a line selection:
|
||||
* - The column's lines_used attribute must be at least the view's line count
|
||||
* - If there is no line selection:
|
||||
* - If it's the first column in the view:
|
||||
* - The view's line count is set to the column's lines_used attribute
|
||||
* - If it's not the first column in the view:
|
||||
* - The column's lines_used attribute must be equal to the view's line count
|
||||
*
|
||||
* @warning The view must be writable.
|
||||
*
|
||||
* @param view A pointer on the view.
|
||||
|
Reference in New Issue
Block a user