Re: New gedit syntax highlighting installer script

From: Chad Herman <chad.scott.herman_at_nyahnyahspammersnyahnyah>
Date: Thu Dec 29 2011 - 11:05:09 MST

On 12/29/2011 06:56 AM, Mateus Teixeira wrote:
> Dear Chad,
>
> I've used your files to NCL syntax highlighting in both version 2 and 3
> of gedit, but I got an error message when call gedit (version 3) from
> the terminal:
>
> (gedit:5859): GtkSourceView-WARNING **: Cannot create a regex for all
> the transitions, the syntax highlighting process will be slower than usual.
> The error was: *Erro ao compilar expressão regular*
> ((?i-x);|(?i-x)\b(False|True)\b|(?i-x)\b(byte|character|double|enumeric|file|float|graphic|int64|integer|list|logical|long|numeric|short|snumeric|string|ubyte|uint|uint64|ulong|ushort)\b|(?i-x)\.(le|lt|ge|gt|ne|eq|and|xor|or|not)\.|(?i-x)"|(?i-x)[\)\(]+|[\{\}]+|[][]+|(?i-x)\b(begin|break|continue|create|defaultapp|do|else|end|external|False|function|getvalues|group|if|load|local|new|noparent|procedure|quit|Quit|QUIT|record|return|setvalues|stop|then|True|while)\b|(?i-x)\b(abs|acos|add90LatX|add90LatY|addfile|addfiles|addfiles_GetVar|all|angmom_atm|any|area_conserve_remap|area_conserve_remap_Wrap|area_hi2lores|area_hi2lores_Wrap|array_append_record|asciiread|asciiwrite|asin|assignFillValue|atan|atan2|attsetvalues|avg|band_pass_area_time|band_pass_area_time_plot|band_pass_hovmueller|band_pass_hovmueller_plot|band_pass_latlon_time|band_pass_latlon_time_plot|betainc|bin_avg|bin_sum|boxplot|byte2flt|calcDayAnomTLL|calcMonAnomLLLT|calcMonAnomLLT|calcMonAnomTLL|calcMonAnomTLLL|cal
endar_decode2|cancor|cbinread|cbinwrite|cdfbin_p|cdfbin_pr|cdfbin_s|cdfbin_xn|cdfchi_p|cdfchi_x|cdfgam_p|
>
> ....
> ....
>
> |xyMarkLineModes|xyMarker|xyMarkerColor|xyMarkerColors|xyMarkerSizeF|xyMarkerSizes|xyMarkerThicknessF|xyMarkerThicknesses|xyMarkers|xyMonoDashPattern|xyMonoLineColor|xyMonoLineLabelFontColor|xyMonoLineThickness|xyMonoMarkLineMode|xyMonoMarker|xyMonoMarkerColor|xyMonoMarkerSize|xyMonoMarkerThickness|xyXIrrTensionF|xyXIrregularPoints|xyXStyle|xyYIrrTensionF|xyYIrregularPoints|xyYStyle)\b)
> no caractere 39529: *expressão regular grande demais*
>
>
> As my system is in Portuguese, the sentences in bold are translated as:
>
> 1. Error when compiling regular expression
>
> 2. regular expression too large
>
> This problem doesn't occur with version 2 of gedit.
>
>
> Best regards,
>
> Mateus

Mateus,

I should have given the url to the NCL web page that describes the gedit
package in a little more detail. In short, the warning you're getting is
nothing to worry about. See
http://www.ncl.ucar.edu/Applications/editor.shtml#gedit for more details.

Regards,

Chad
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Dec 29 11:05:23 2011

This archive was generated by hypermail 2.1.8 : Wed Jan 04 2012 - 10:18:09 MST