Commit 6fa55a44f1334da75c2d461c84ed3b7c96b61100
- Diff rendering mode:
- inline
- side by side
README
(5 / 0)
|   | |||
| 28 | 28 | the sketch directory. You will have to create a sub-directory called | |
| 29 | 29 | ``lib'' in the sketch directory which is where the | |
| 30 | 30 | ``preferences.txt'' file will reside. Sym-linking also works. | |
| 31 | |||
| 32 | * Compilation errors...The regular expression used to detect | ||
| 33 | compilation error messages does indeed work. Unfortunately there is | ||
| 34 | another regular expression that is interfering and being matched | ||
| 35 | _before_ it. |
processing-mode.el
(9 / 3)
|   | |||
| 8 | 8 | ;; Copyright (C) 2008 Rudolf Olah <omouse@gmail.com> | |
| 9 | 9 | ;; Licensed under the GNU GPL version 3 or later | |
| 10 | 10 | ||
| 11 | (require 'compile) | ||
| 12 | |||
| 11 | 13 | (define-derived-mode processing-mode | |
| 12 | 14 | java-mode "Processing" | |
| 13 | 15 | "Major mode for Processing. | |
| … | … | ||
| 107 | 107 | (define-key processing-mode-map "\C-c\C-b" 'processing-sketch-build) | |
| 108 | 108 | ||
| 109 | 109 | ;; Regular expressions | |
| 110 | ;; For compilation | ||
| 111 | ;;(pushnew compilation-error-regexp-alist | ||
| 112 | ;; '(processing "^\\(?:[[:alpha:]]\\)")) | ||
| 110 | ;; Compilation | ||
| 111 | (pushnew | ||
| 112 | ;; Mode name, REGEXP FILE LINE COLUMN TYPE HYPERLINK HIGHLIGHT | ||
| 113 | '(processing "^\\([[:alnum:]]+.pde\\):\\([0-9]+\\):\\([0-9]+\\):.*$" | ||
| 114 | 1 2 3) | ||
| 115 | compilation-error-regexp-alist-alist) | ||
| 116 | (pushnew 'processing compilation-error-regexp-alist) | ||
| 113 | 117 | ||
| 114 | 118 | ;; Font-lock, keywords | |
| 115 | 119 | (defconst processing-font-lock-keywords-1 |

