![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|
Functions | |
| get_filetype_from_line (l) | |
| get_filetype_from_buffer (buf, max_lines=5) | |
Variables | |
| modeline_re = re.compile(, re.VERBOSE) | |
pygments.modeline
~~~~~~~~~~~~~~~~~
A simple modeline parser (based on pymodeline).
:copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
| pip._vendor.pygments.modeline.get_filetype_from_buffer | ( | buf, | |
max_lines = 5 |
|||
| ) |
Scan the buffer for modelines and return filetype if one is found.