aboutsummaryrefslogtreecommitdiffstats
path: root/ui/filter_files.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2021-04-19 13:58:59 -0700
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-04-20 07:43:39 +0000
commit9222bd77cdf808956e85bf53c6d07db1e075582f (patch)
treed28af95d3bc19aa393b452e8e7afd91cf8c3b5e3 /ui/filter_files.h
parent9bb2af76d9a7174eba821b7ae1f24d3fd24fba89 (diff)
Remove unneeded modelines in ui.
Remove the editor modeline blocks from the source files in ui that use 4 space indentation by running perl -i -p0e 's{ \n+ /[ *\n]+ editor \s+ modelines .* shiftwidth= .* \*/ \s+ } {\n}gsix' $( ag -l shiftwidth=4 $( ag -g '\.(c|cpp|h|m|mm)') ) This gives us one source of indentation truth for these files, and it *shouldn't* affect anyone since - These files match the default in our top-level .editorconfig. - The one notable editor that's likely to be used on these files and *doesn't* support EditorConfig (Qt Creator) defaults to 4 space indentation.
Diffstat (limited to 'ui/filter_files.h')
-rw-r--r--ui/filter_files.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/ui/filter_files.h b/ui/filter_files.h
index d08d93f639..aba633ccbb 100644
--- a/ui/filter_files.h
+++ b/ui/filter_files.h
@@ -87,16 +87,3 @@ void free_filter_lists(void);
#endif /* __cplusplus */
#endif /* __UI_FILTERS_H__ */
-
-/*
- * Editor modelines - https://www.wireshark.org/tools/modelines.html
- *
- * Local Variables:
- * c-basic-offset: 4
- * tab-width: 8
- * indent-tabs-mode: nil
- * End:
- *
- * ex: set shiftwidth=4 tabstop=8 expandtab:
- * :indentSize=4:tabSize=8:noTabs=true:
- */