search for: new_text

Displaying 13 results from an estimated 13 matches for "new_text".

2013 Feb 05
3
Truncate text
Hi Folks, Good evening, I used the code which i print below, Yes i got the result , but i need the result like this "TruncateHtml is jus....(continued)" some_html = ''<ul><li><a href="http://whatever">TruncateHtml is just like the vanilla truncate rails helper , TruncateHtml is just like the vanilla truncate rails
2011 May 17
3
gsub() issue...
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20110517/1812d6c6/attachment.pl>
2007 Mar 25
5
Insert text into text area field with RJS
Hi, I''d like to insert/append some default text into a text area after clicking on an image button ''test.png'' in edit.rhtml: <%= link_to image_tag("test.png"), url => { :action => :new_text } %> Action: # article_body is the textarea''s id. def new_text render :update do |page| page.insert_html :bottom, :article_body, "text\n" end end Not surprisingly insert_html doesn''t work properly in this innerHTML context. But how it is possible to append...
2016 Jan 26
1
[PATCH v2] p2v: User can click on an interface name to identify the
v1 -> v2: Added a (now blue) underlined "Identify interface" link. It's not really a link, but it looks like one, so hopefully should resolve the previous UI issue. Rich.
2007 Feb 14
0
7 commits - libswfdec/swfdec_image.c libswfdec/swfdec_script.c libswfdec/swfdec_script.h test/Makefile.am test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_list.c test/swfedit_tag.c test/swfedit_token.c test/swfedit_token.h test/swfscript.c
...n_set_iter diff --git a/test/swfedit.c b/test/swfedit.c index 7e13bd6..24f2980 100644 --- a/test/swfedit.c +++ b/test/swfedit.c @@ -60,7 +60,7 @@ cell_renderer_edited (GtkCellRenderer *r &iter, path)) { g_assert_not_reached (); } - swfedit_token_set (SWFEDIT_TOKEN (file), &iter, new_text); + swfedit_token_set_iter (SWFEDIT_TOKEN (file), &iter, new_text); } static gboolean diff --git a/test/swfedit_token.c b/test/swfedit_token.c index 005e6c1..06c1aa4 100644 --- a/test/swfedit_token.c +++ b/test/swfedit_token.c @@ -314,12 +314,13 @@ swfedit_script_new (void) static gboolea...
2016 Jan 26
2
[PATCH] p2v: User can click on an interface name to identify the physical interface.
...atic void populate_removable (GtkTreeView *removable_list); static void populate_interfaces (GtkTreeView *interfaces_list); static void toggled (GtkCellRendererToggle *cell, gchar *path_str, gpointer data); static void network_edited_callback (GtkCellRendererToggle *cell, gchar *path_str, gchar *new_text, gpointer data); +static gboolean maybe_identify_click (GtkWidget *interfaces_list, GdkEventButton *event, gpointer data); static void set_disks_from_ui (struct config *); static void set_removable_from_ui (struct config *); static void set_interfaces_from_ui (struct config *); @@ -649,6 +650,10...
2023 Jan 30
11
[p2v PATCH 00/11] Expose virt-v2v's "-oo"; re-enable openstack
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1792141 Let the user pass "-oo" options from the kernel cmdline and from the GUI to virt-v2v. This is primarily useful with the OpenStack output mode, so reenable that mode. Cc: Alban Lecorps <alban.lecorps at ubisoft.com> Laszlo Alban Lecorps (1): Introduce "p2v.output.misc" for passing "-oo" options
2007 Jan 25
0
Branch 'interpreter' - 28 commits - configure.ac libswfdec/js libswfdec/swfdec_buffer.c libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_player.c
...tton, SwfeditFile *file) +{ + GError *error = NULL; + + if (!swfedit_file_save (file, &error)) { + g_printerr ("Error saving fils: %s\n", error->message); + g_error_free (error); + } +} + +static void cell_renderer_edited (GtkCellRenderer *renderer, char *path, char *new_text, SwfeditFile *file) { @@ -41,26 +52,29 @@ static gboolean open_window (char *filename) { SwfeditFile *file; - GtkWidget *window, *scroll, *treeview; + GtkWidget *window, *scroll, *box, *button, *treeview; GError *error = NULL; GtkTreeViewColumn *column; GtkCellRenderer *renderer;...
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not allocating RBP to any virtual register, the instances of RBP in function foo are in the machine code when my register allocator starts.) Function foo calls function bar. Register RBP is not saved across the call, though it is live after the call. Function bar includes a virtual register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...gentabs (void); extern void indent_put2s (char[], char[]); extern void indent_puts (char[]); extern void make_tables (void); extern void check_options (void); extern void flexend (int); extern void usage (void); extern void action_define ( char *defname, int value ); extern void add_action ( char *new_text ); extern int all_lower (register char *); extern int all_upper (register char *); extern void bubble (int [], int); extern void check_char (int c); extern unsigned char clower (int); extern char *copy_string (register const char *); extern unsigned char *copy_unsigned_string (register unsigned cha...
2008 Jan 07
0
12 commits - configure.ac doc/swfdec.types Makefile.am test/crashfinder.c test/dump.c test/Makefile.am test/swfdec-extract.c test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_list.c test/swfedit_list.h
...dialog)); - if (!swfedit_file_save (file, &error)) { - g_printerr ("Error saving file: %s\n", error->message); - g_error_free (error); - } - } - gtk_widget_destroy (dialog); -} - -static void -cell_renderer_edited (GtkCellRenderer *renderer, char *path, - char *new_text, SwfeditFile *file) -{ - GtkTreeIter iter; - - if (!gtk_tree_model_get_iter_from_string (GTK_TREE_MODEL (file), - &iter, path)) { - g_assert_not_reached (); - } - swfedit_token_set_iter (SWFEDIT_TOKEN (file), &iter, new_text); -} - -static gboolean -open_window (char *filename) -{ -...
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is time to remove it from libguestfs. [1] https://github.com/libguestfs/virt-p2v [2] http://download.libguestfs.org/virt-p2v/ Pino Toscano (2): Remove virt-p2v Remove remaining virt-p2v bits .gitignore | 4 - Makefile.am | 7 +- bash/Makefile.am
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...tton, SwfeditFile *file) +{ + GError *error = NULL; + + if (!swfedit_file_save (file, &error)) { + g_printerr ("Error saving fils: %s\n", error->message); + g_error_free (error); + } +} + +static void cell_renderer_edited (GtkCellRenderer *renderer, char *path, char *new_text, SwfeditFile *file) { @@ -41,26 +52,29 @@ static gboolean open_window (char *filename) { SwfeditFile *file; - GtkWidget *window, *scroll, *treeview; + GtkWidget *window, *scroll, *box, *button, *treeview; GError *error = NULL; GtkTreeViewColumn *column; GtkCellRenderer *renderer;...