Mercurial > octave
annotate .editorconfig @ 32055:dfd2b1a268a0
Don't list non-public or hidden functions from methods() (bug #64066)
* ov-classdef.cc (Fproperties): Use property name from property_map variable
, which is already known, rather than calling get_name() method which causes
cascade of multiple methods to be invoked.
* ov-classdef.cc (F__methods__): Change function signature to return a flag
"found" if input was a classdef class or instance. Add code to check "Access"
and "Hidden" properties before including in list of methods. Add BIST test
for __methods__.
* methods.m: Use second output from __methods__ to determine whether
__methods__ call was successful.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 25 Apr 2023 18:09:29 -0700 |
parents | 640ee0d531d0 |
children |
rev | line source |
---|---|
27334
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
1 root = true |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
2 |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
3 [*] |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
4 charset = utf-8 |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
5 end_of_line = lf |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
6 indent_size = 2 |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
7 indent_style = space |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
8 insert_final_newline = true |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
9 |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
10 [*.{am,mk}] |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
11 indent_size = tab |
640ee0d531d0
add EditorConfig for default file encoding and indentation
Mike Miller <mtmiller@octave.org>
parents:
diff
changeset
|
12 indent_style = tab |