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
16
votes
3 answers

Can't get "text-overflow: ellipsis;" to work

I cannot get "text-overflow: ellipsis;" to work... Maybe someone can give ma some help with that one :-) Small example: http://jsfiddle.net/qKS8p/2/ http markup: …
arkascha
  • 41,620
  • 7
  • 58
  • 90
16
votes
1 answer

What is ellipsis operator in c

Possible Duplicate: What's does … mean in an argument list in C ? function fun1(...) { } Please tell me about what is the use and how to use ellipsis operator in c. Thanks,
Karandeep Singh
  • 1,223
  • 5
  • 22
  • 34
16
votes
3 answers

white-space: nowrap; and flexbox did not work in chrome

Recent update of Chrome breaks white-space: nowrap using text-overflow: ellipsis; on a overflow: hidden element. How to fix that without adding hard-coded width on name class..

problem

mnk
  • 2,014
  • 2
  • 16
  • 13
15
votes
7 answers

Control overflow of TD element

I have got TD with long text in it. I'd like it to be ellipsised, but I don't want to define the absolute width of this column - I want it to be calculated dynamically by its parent table. Is it possible? Here is a code for example:
Spiderman
  • 9,602
  • 13
  • 48
  • 56
15
votes
1 answer

Text ellipsis at start of string with CSS?

Getting this effect with CSS it's easy: This is a very long para... We just just use text-overflow:ellipsis. However the reverse ... is a very long paragraph. seems less obvious. I have read this comprehensive article but the solution give…
U r s u s
  • 6,680
  • 12
  • 50
  • 88
15
votes
5 answers

How to use custom ellipsis in Android TextView

I have a TextView with maxlines=3 and I would like to use my own ellipsis, instead of "Lore ipsum ..." I need "Lore ipsum ... [See more]" in order to give the user a clue that clicking on the view is going to expand the full text. Is it possible…
jmhostalet
  • 4,399
  • 4
  • 38
  • 47
15
votes
9 answers

Trim text to 340 chars

I'm pulling blog posts from a DB. I want to trim the text to a max length of 340 characters. If the blog post is over 340 characters I want to trim the text to the last full word and add '...' on the end. E.g. NOT: In the begin.... BUT: In the…
CLiown
  • 13,665
  • 48
  • 124
  • 205
15
votes
2 answers

How to place two divs side by side where LEFT one is sized to fit and other takes up remaining space?

I'm trying to place two div's beside each other with the following criteria: Both divs must stay on the same line. Priority must be given to the left div. As much text as possible should be displayed in the left div up to the point where ellipsis…
Philip Murphy
  • 870
  • 3
  • 10
  • 24
13
votes
8 answers

Ellipsis at start of string in WPF ListView

I have a WPF ListView (GridView) and the cell template contains a TextBlock. If I add: TextTrimming="CharacterEllipsis" TextWrapping="NoWrap" on the TextBlock, an ellipsis will appear at the end of my string when the column gets smaller than the…
Simon Levy
  • 165
  • 1
  • 5
13
votes
1 answer

Dynamic ellipsis support for Android autosizing TextViews

The new Autosizing TextViews are pretty awesome, but it seems a fundamental thing is missing: ellipses. Adding ellipses still requires defining the maxLines attribute, but if I want to be able to dynamically resize the text size according to the…
13
votes
8 answers

CSS Text ellipsis including "More" link

So I have the following Fiddle that has set an ellipsis in a text into two lines. Then I want to have a 'More' link inline with the text. http://jsfiddle.net/csYjC/2876/ So if our text has more than two lines, it should look like this: That's…
Ferran Negre
  • 3,712
  • 3
  • 34
  • 56
12
votes
1 answer

capture the environment of ellipsis/dots

{rlang} has this unexported function that can be used to capture the ellipsis arguments (names, expressions, and env). It powers the magic of rlang::enquos(). f <- function(...) rlang:::captureDots() g <- function(...) f(..., b = z) g(a = x, y) #>…
moodymudskipper
  • 46,417
  • 11
  • 121
  • 167
12
votes
3 answers

Animating Text in SwiftUI

SwiftUI has wonderful animation features, but the way it handles changes in Text View content is problematic. It animates the change of the text frame but changes the text immediately without animation. As a result, when the content of a Text View…
Anton
  • 2,512
  • 2
  • 20
  • 36
12
votes
3 answers

SwiftUI Adding Unnecessary "dot dot dot" to Animated Text

I'm writing an app for iPhone using SwiftUI in XCode. In one of the views, there is a Text label that changes its text whenever a button is pressed. The entire view is spring animated, so whenever the text is changed via the button, it is changed…
billschmidt626
  • 131
  • 1
  • 4
12
votes
2 answers

My compiler allows "T&...". Is this an extension?

I was surprised when the following worked template void f(T &...); I thought that I have to declare "T" as "typename ...T" then, and that it only works in C++0x. But the above compiled in strict C++03 mode. What's going on?
Johannes Schaub - litb
  • 496,577
  • 130
  • 894
  • 1,212