Item "Settings...|S" "inset-settings"
End
+#
+# Toc Listings context menu
+#
+
+ Menu "context-toc-listing"
+ Item "Settings...|S" "inset-settings"
+ End
+
#
# Toc Tables context menu
#
Item "Settings...|S" "inset-settings"
End
+#
+# Toc Childs context menu
+#
+ Menu "context-toc-child"
+ Item "Include|c" "inset-modify changetype include"
+ Item "Input|p" "inset-modify changetype input"
+ Item "Verbatim|V" "inset-modify changetype verbatiminput"
+ Item "Verbatim (marked blanks)|b" "inset-modify changetype verbatiminput*"
+ Item "Listing|L" "inset-modify changetype lstinputlisting"
+ Separator
+ Item "Settings...|S" "inset-settings"
+ Separator
+ Item "Edit included file...|E" "inset-edit"
+ End
+
+#
+# Toc Indicis context menu
+#
+
+ Menu "context-toc-index"
+ OptItem "Settings...|S" "inset-settings"
+ End
+
#
# Index context menu
#
Inset * inset = 0;
if (current_type_ == "label"
|| current_type_ == "graphics"
- || current_type_ == "citation")
+ || current_type_ == "citation"
+ || current_type_ == "child")
inset = dit.nextInset();
- else if (current_type_ == "branch")
+ else if (current_type_ == "branch"
+ || current_type_ == "index")
inset = &dit.inset();
- else if (current_type_ == "table" || current_type_ == "figure") {
+ else if (current_type_ == "table"
+ || current_type_ == "listing"
+ || current_type_ == "figure") {
DocIterator tmp_dit(dit);
tmp_dit.pop_back();
inset = &tmp_dit.inset();