Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code snippet always shows line numbers from 1 (Origin: bugzilla #770660) #6055

Closed
doxygen opened this issue Jul 2, 2018 · 0 comments
Closed

Comments

@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.8.11 on platform Other
Assigned to: Dimitri van Heesch

On 2016-08-31 17:04:43 +0000, Dominic Amann wrote:

The following Doxygen comment fragment (taken from python code)

To demonstrate the API, take a look at the transducer_setup method of

the app class (in pyscope_any.py) below:

\snippet this transducer_setup

multiMode must be set to 4 to support multiple transducers (0 for legacy mode).

produces (via html output)

======
To demonstrate the API, take a look at the transducer_setup method of the app class (in pyscope_any.py) below:

1     def transducer_setup(self):
2         tc1 = TraceCollector()
3         tc1.on_init()
4         settings = TraceCollectorPy.SGprSettings()
5         settings.points_per_trace = PPT
6         # This may need shifting for different frequencies
7         settings.window_timeshift_ps = -42000
8         settings.multiMode = 4
9         # edit tuples in following call for different transducer arrangements

10 tc1.prepare_transducers(0, 1, settings, [(1, 1, 1), (2, 2, 1)])
11 # put RX scopes in right slots
12 tc1.add_scope(2)
13 # add our new trace-collector to list
14 self._trace_collectors.append(tc1)

multiMode must be set to 4 to support multiple transducers (0 for legacy mode).

I would like to see line numbers reflecting the actual line numbers from the code file.

On 2016-09-02 13:16:11 +0000, albert wrote:

I've just pushed a proposed patch to github (pull request 514)

On 2016-09-03 11:12:51 +0000, albert wrote:

Code has been integrated in master branch on github

On 2016-09-05 13:45:29 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.12. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant (preferably in the form of a self-contained example).

@doxygen doxygen closed this as completed Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant