[Github-comments] [geany] Make it possible to define default symbol_list_sort_mode (#581)

Jiří Techet notifications at xxxxx
Tue Nov 17 17:43:49 UTC 2015


> Perhaps implement a button "Apply to all open documents/tabs"?

I don't really think it's necessary - in my opinion it behaves in a predictable way with this patch: it defines a default sort mode for newly open files (unless overridden by filetype settings).

> OTOH, we can't make all arbitrary setting per-document, we have to draw a line somewhere.

This is not a per-document settings - it's a global default settings for the sorting. The per-document settings already exists - it's symbol_list_sort_mode which languages like markdown set to 1 (sorting by appearance). 

But right now if symbol_list_sort_mode is not specified in the filetype configuration, it always defaults to sorting by name. What this patch does is that it lets you select which of the sorting modes is the default one.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/581#issuecomment-157449233
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151117/1ad25b82/attachment.html>


More information about the Github-comments mailing list