Created attachment 64462 [details] screenshot of kmplot Version: unspecified (using KDE 4.4.4) OS: Linux When typing in cosec(x), kmplot does not recognize cosec(x) and instead sees (cos)ec(x). And so, all cosec-based function is unusable, including cosech, arccosech, arccosec. This problem is still present in latest trunk build as of 08/12/2011, which is where I got the sources. Reproducible: Always Steps to Reproduce: 1. Open kmplot 2. type cosec(x) 3. the function will not be recognized by the parser. Actual Results: the cosec(x) function will not graph due a perceived error in the function, even if I use the equation editor to enter cosec(x). Expected Results: It should have been the same graph as 1/sin(x) OS: Linux (i686) release 2.6.34.10-0.2-desktop Compiler: gcc
Git commit 10174f8bcf30ccc3071e175bd9c26d91bf595b38 by Christoph Feck. Committed on 13/10/2011 at 00:51. Pushed by cfeck into branch 'master'. Fix function table sorting * fix ordering of trig functions (longest names first), so that "cos" does not shadow "cosec" etc. functions * only sort function names for display, otherwise breaks highlighter BUG: 283864 BUG: 228752 M +3 -1 kmplot/equationeditorwidget.cpp M +8 -9 kmplot/parser.cpp http://commits.kde.org/kmplot/10174f8bcf30ccc3071e175bd9c26d91bf595b38