From d76fdf9cb931d6d189938102a98a71030ea907ad Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 31 May 2012 19:07:16 +0200 Subject: allow transcript formatting without markup (like search-as-you type) * controlled via checkbox * if markup is disabled the entered text is only regular expressions * default text attributes are used according to some constants (in configure.ac, later they will be configurable via config file) * fixed return value of gtk_experiment_transcript_load_formats() * care about possible capture mismatches in regular expressions (capture braces are inserted automatically - the user is not allowed specify own captures) * display state of interactive format via icon (successful/error) --- lib/gtk-experiment-widgets/gtk-experiment-transcript.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gtk-experiment-widgets/gtk-experiment-transcript.h') diff --git a/lib/gtk-experiment-widgets/gtk-experiment-transcript.h b/lib/gtk-experiment-widgets/gtk-experiment-transcript.h index a242a57..fa4b7ab 100644 --- a/lib/gtk-experiment-widgets/gtk-experiment-transcript.h +++ b/lib/gtk-experiment-widgets/gtk-experiment-transcript.h @@ -71,7 +71,7 @@ gboolean gtk_experiment_transcript_load_filename(GtkExperimentTranscript *trans, gboolean gtk_experiment_transcript_load_formats(GtkExperimentTranscript *trans, const gchar *filename); gboolean gtk_experiment_transcript_set_interactive_format(GtkExperimentTranscript *trans, - const gchar *format, + const gchar *format_str, gboolean with_markup); GtkAdjustment *gtk_experiment_transcript_get_time_adjustment(GtkExperimentTranscript *trans); -- cgit v1.2.3