Displaying 20 results from an estimated 2000 matches similar to: "word wrap ?"
2006 Jan 29
2
problem with xul/prototype experiment: "bind" method not found
Hi everyone,
I was playing around with xul + prototype, and everything seemed to be
going well until I ran into a wall - there seems to be some problem I
can''t explain with Function.prototype.bind, for instance when I run
this code:
try {
new Ajax.Request("http://localhost:3000/search/hello", {
onComplete: this.onHelloComplete.bind(this)
});
} catch
2005 Nov 19
2
ntlm_auth and PEAP machine authentication
At
http://groups.google.de/group/mailing.unix.samba/browse_frm/thread/3806dd92303380d1/10f21511e488d8d0?lnk=st&q=ntlm_auth++%22machine+authentication%22&rnum=1&hl=de#10f21511e488d8d0
the question is discussed, whether ntlm_auth can be used for machine
authentication against a Win2003/AD.
and the conclusion seems to be, that it is not really clear:
>Machine accounts are a problem
2008 Jul 26
4
simple_format, (long) urls, and wrapping
I''m using simple_format to format and display posted content from
users. This content sometimes has urls in it.
The problem I''m having is that if the urls are long enough to wrap,
they do, but the url gets split with a <br> tag. Then, if the user
clicks on the link, only the first, non-wrapped part of the link gets
posted to the browser... and that''s an invalid
2006 Jan 21
1
Machine account with object class sambaSAMAccount required?
Hi!
I have a problem connecting WinXP clients to my samba3/ldap domain (see my
earlier post). I'm using the idealx scripts and they do create a machine
account, even if i try to add the machine from WinXP itself.
Now I noticed the machine account created by this script has object classes
top, inetOrgPerson and posixAccount, but NOT sambaSAMAccount. Is this
correct? I thought they should be
2012 Jan 15
1
Word Wrap
Hello,
I have to write a big sentence with cat() and I would like that R
automatically adds a new line when it is needed (when the text arrives
at the end of the window), the same as Windows Notepad does (Word Wrap).
How could I do?
Thank you
F.
2005 Nov 20
2
word_wrap with hard break
How can I force word_wrap to break text like this?
<% @text=''abcdefghijklmnopqrstuvwxyz'' %>
<%= word_wrap(@text, 10) %>
It appears to currently only break on space characters.
thanks
csn
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
2007 Aug 02
3
Problems with Element.extend() on responseXML elements with IE
I have the following code in the "onSuccess" function of an
Ajax.Request() call. The content type of the response message is "text/
xml".
function interactionSuccess(request) {
var root = $(request.responseXML.documentElement);
...
So more or less I extend the root element of my XML response.
This call triggers the onException callback. The exception is a
2016 Jun 17
5
ARM NEON optimization -- celt_fir()
Hi all,
This is Linfeng Zhang from Google. I'll work on ARM NEON optimization in the
next few months.
I'm submitting 2 patches in the following couple of emails, which have the new
created celt_fir_neon().
I revised celt_fir_c() to not pass in argument "mem" in Patch 1. If there are
concerns to this change, please let me know.
Many thanks to your comments.
Linfeng Zhang
2007 Dec 16
2
question about the aggregate function with respect to order of levels of grouping elements
Hi,
I am using aggregate() to add up groups of data according to year and month.
It seems that the function aggregate() automatically sorts the levels of
factors of the grouping elements, even if the order of the levels of factors
is supplied. I am wondering if this is a bug, or if I missed something
important. Below is an example that shows what I mean. Does anyone know if
this is just the way
2006 Apr 18
12
Formatting data drawn from a DB
Question for all:
Right now i have a Table in a mySQL DB that has a row called
Ingredients. When the data is entered into the DB its enter like so
from a text area:
1 1/2 lbs. beef top sirloin, thinly sliced
1/3 cup white sugar
1/3 cup rice wine vinegar
2 tablespoons frozen OJ concentrate
1 teaspoon salt
1 tablespoon soy sauce
1 cup long grain rice
2 cups water
1/4 cup cornstarch
2 teaspoons
2006 Apr 22
5
selenium plugin not working with rails 1.1
Hi,
I really like selenium, and I just tried the plugin created Jonas
Bengtsson. However I cannot get it to run on rails 1.1 and coundn''t find
anyone complaining about it?
Did anyone get it to run on rails 1.1.2?
Greets,
Abdur-Rahman
2006 Nov 08
3
long words killing HTML display
Hi, I''m trying to use word_wrap to prevent long
''aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...'' from kill my display
tables in HTML. Problem is that word_wrap doesn''t dissect these long
words and expects to only break them if it sees a ''\n''. Does anybody
know if Rails has a helper to do this, not that it is hard to implement
on my own
2007 Apr 18
33
LZO compression?
Hi,
I don''t know if this has been discussed before, but have you thought
about adding LZO compression to ZFS?
One zfs-fuse user has provided a patch which implements LZO compression,
and he claims better compression ratios *and* better speed than lzjb.
The miniLZO library is licensed under the GPL, but the author
specifically says that other licenses are available by request.
Has this
2010 Mar 22
7
How to reference a select_tag within a form
Hi All,
Inside my app\views\expenses\new.html.erb file, I had the code:
<% form_for(@expense) do |f| %>
[snip]
<p>
<%= f.label :vendor %><br />
<%= f.text_field :vendor %>
<br />
<div id="vendor_droplist>
<%= select_tag "test",
options_for_select(@current_vendors.collect { |v|
v.nickname }),
{:multiple
2008 May 29
4
ruby's simple_format method is not working for spaces.
Ruby''s simple_format method is not working for spaces. so how to add and
what to add in simple format method code so it also work for spaces?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2008 Jan 22
4
newlines in text_area
Hi @ all
I would like to enter a text with a text_area into the database. It runs
excellent. But when I want to show the entered text in the show view,
all newlines (paragraphs) are deleted and the text is only one block.
How can I save the returns (newlines) too?
Thanks for helping!!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received
2006 Mar 30
2
How do I format text before saving it?
I tried to use a before_save and use simple_format, it returns and
undefined method error. Can I even use these methods within a model? I
tried to use auto_link and it failed too. What am I doing wrong?
Furthermore, would it be recommended I format text before saving it to
the database? Advantages or disadvantages?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 04
2
simple_format and in_place_editor_field
Hi!
How can i do to force an in_place_editor_field to format the text with
simple_format while not editing?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060104/bbd141a2/attachment.html
2007 Oct 18
0
11 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
libswfdec/swfdec_as_strings.c | 4
libswfdec/swfdec_text_field.c | 1
libswfdec/swfdec_text_field.h | 34 ---
libswfdec/swfdec_text_field_movie.c | 265 ++++++++++++++++---------------
libswfdec/swfdec_text_field_movie.h | 47 ++++-
libswfdec/swfdec_text_field_movie_as.c | 115 +++++++++++--
test/trace/Makefile.am | 17
2007 Oct 17
0
libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie.c
libswfdec/swfdec_text_field.c | 288 ----------------------------------
libswfdec/swfdec_text_field.h | 14 -
libswfdec/swfdec_text_field_movie.c | 297 +++++++++++++++++++++++++++++++++++-
3 files changed, 291 insertions(+), 308 deletions(-)
New commits:
commit 2e79c953066b7f6857e88e7efaaed4d8846e9609
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Wed Oct 17