Questions tagged [ellipsis]

An ellipsis is a series of dots, (usually 3, i.e. "…") used to indicate the omission of a word within some text, or more commonly that the preceding text has been truncated.

737 questions
20
votes
7 answers

Text overflow ellipsis not showing with some custom font

I'm currently trying to make a text box with hiding overflowing text. It works fine, but for some part. I'm using text-overflow: ellipsis; This should put three dots ("...") at the place where my text is cut off, but it doesn't place three dots,…
soenguy
  • 1,332
  • 3
  • 11
  • 23
20
votes
6 answers

using catch(...) (ellipsis) for post-mortem analysis

Someone in a different question suggested using catch(...) to capture all otherwise unhandled - unexpected/unforseen exceptions by surrounding the whole main() with the try{}catch(...){} block. It sounds like an interesting idea that could save a…
SF.
  • 13,549
  • 14
  • 71
  • 107
19
votes
5 answers

CSS Text-overflow Ellipsis Not Displaying

I have a div with some inner content that I need to have an ellipsis when it overflows. I've done this many times on other elements but for some reason this is not behaving as expected. Also, I left white-space:nowrap; out on purpose because the…
sadmicrowave
  • 39,964
  • 34
  • 108
  • 180
19
votes
4 answers

Using "..." and "replicate"

In the documentation of sapply and replicate there is a warning regarding using ... Now, I can accept it as such, but would like to understand what is behind it. So I've created this little contrived example: innerfunction<-function(x, extrapar1=0,…
Nick Sabbe
  • 11,684
  • 1
  • 43
  • 57
19
votes
6 answers

MySQL truncate text with ellipsis

Suppose I have a MySQL table of one column: "Message". It is of type TEXT. I now want to query all rows, but the text can be large (not extremely large but large) and I only want to get a summary of them. For example the result can be populated into…
javic
  • 823
  • 1
  • 6
  • 9
19
votes
4 answers

BootStrap Table text ellipsis can not be with responsive web?

I am trying to implement String ellipsis in the Table tag. The source code is below.
Juneyoung Oh
  • 7,318
  • 16
  • 73
  • 121
19
votes
2 answers

How to use CSS text-overflow on text that's wrapping?

Does anybody know of a way to use {text-overflow: ellipsis;} on a piece of text that's wrapping to a second line? Adding: {whitespace: nowrap;} makes text-overflow work, but I need the text to wrap so I really can't use that.
Andrew Philpott
  • 939
  • 1
  • 10
  • 11
18
votes
2 answers

CSS ellipsis with inline elements?

I've adapted jQuery UI MultiSelect Widget so that the text would show all selected labels, but if too many elements are selected to display, the text would be trimmed and ellipsed. I've done it so: .ui-multiselect .selected-text { display:…
Web Devie
  • 1,207
  • 1
  • 13
  • 30
18
votes
2 answers

text-overflow ellipsis does not work with dynamic width

hope someone can help. I have 3 nested div. Parent, children and children's children. What i want to accomplish (the motive is not relevant) is that that child gets a relative width depending on the parent's width (a percentage) and the children's…
Dan Stern
  • 2,155
  • 8
  • 26
  • 38
18
votes
9 answers

CSS word ellipsis ('...') after one or two lines

I'm trying to create a word-wrap in JavaScript using CSS, and the condition is: If DIV contains one very long word, such as "asdasfljashglajksgkjasghklajsghl", I want to display: |asdasfljashglajk...| If DIV contains a long sentence, such as…
user349072
  • 493
  • 2
  • 5
  • 12
17
votes
2 answers

"..1" in the body of "[[.data.frame"

When I look at the contents of [[.data.frame on my PC, this is what I get: > get("[[.data.frame") function (x, ..., exact = TRUE) { na <- nargs() - (!missing(exact)) if (!all(names(sys.call()) %in% c("", "exact"))) warning("named…
Nick Sabbe
  • 11,684
  • 1
  • 43
  • 57
17
votes
1 answer

How to add ellipses on a UITextView?

I need to restrict number of lines in a UITextView to 2 and add ellipses to any overflowing text. How would I do that? For some implementation reasons I cannot use UILabel.
Suchi
  • 9,989
  • 23
  • 68
  • 112
17
votes
3 answers

How to check if any arguments were passed via "..." (ellipsis) in R? Is missing(...) valid?

I'd like to check whether an R function's "..." (ellipsis) parameter has been fed with some values/arguments. Currently I'm using something like: test1 <- function(...) { if (missing(...)) TRUE else FALSE } test1() ## [1]…
gagolews
  • 12,836
  • 2
  • 50
  • 75
17
votes
1 answer

R: How can a function accept variable arguments using ellipsis (...) without copying them in memory?

[EDIT: The issue prompting this workaround has been fixed since R 3.1.0.] I was asked elsewhere to post this as a self-answered question. When an R function accepts an arbitrary number of parameters through the ellipsis arguments, the common way to…
codeola
  • 838
  • 6
  • 14
17
votes
1 answer

Chrome search feature (ctrl+f) finds hidden text ( but it's invisible! )

Look at this fiddle. Enter Ctrl+F and search "gets" ... For me Chrome finds invisible text from this text: A long option that gets cut off It's reproduced on Linux/Ubuntu 12.04 Chrome Version 31.0.1650.63 HTML
A…
Yurii Buhryn
  • 803
  • 3
  • 9
  • 27