www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18361] New: Ddoc: support ability to opt out of automatic

https://issues.dlang.org/show_bug.cgi?id=18361

          Issue ID: 18361
           Summary: Ddoc: support ability to opt out of automatic keyword
                    highlighting in text
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: hsteoh quickfur.ath.cx

Currently, ddoc will automatically highlight any word in running text that
happens to coincide with keywords, module names, or function parameters.
Unfortunately, if any of the foregoing happen to be a common word, the text
will be full of unintentional highlights, and would need a proliferation of
prefixed '_' to suppress this behaviour on every unwanted occurrence.

Ddoc should provide a way to opt out of this behaviour.

--
Feb 03