view .dir-locals.el @ 20145:248f2f2e7d48

Return correct x,y coordinates for keystroke with ginput in Qt (bug #44834). * Canvas.h (updateCurrentPoint (fig, obj)): New prototype for 2-argument form of updateCurrentPoint used with QKeyEvents. * Canvas.cc (updateCurrentPoint (fig, obj)): New version of function that uses QCursor::pos() to get CurrentPoint rather than using data embedded in QMouseEvent. * QtHandlesUtils.h (figureCurrentPoint (fig)): New prototype for 1-argument form of figureCurrentPoint used with QKeyEvents. * QtHandlesUtils.cc (figureCurrentPoint (fig)): New version of function that uses QCursor::pos() to get CurrentPoint rather than using data embedded in QMouseEvent.
author Rik <rik@octave.org>
date Mon, 20 Apr 2015 20:46:54 -0700
parents 9ff04de067ce
children
line wrap: on
line source

((nil .
      ((c-file-style . "gnu")
       (indent-tabs-mode . nil)
       (fill-column . 72)
       (eval . (when (and (buffer-file-name)
                          (string-match-p "\\.h\\'" (buffer-file-name))
                          (not (string-match-p "/gnulib/" (buffer-file-name))))
                 (c++-mode)
                 (c-set-style "gnu")))))
 (change-log-mode . ((indent-tabs-mode . t)))
 (makefile-mode . ((indent-tabs-mode . t))))