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
12
votes
1 answer

R: using ellipsis argument (...)

I want to create a wrapper function replacing some of the default arguments. Here the core of the problem I'm struggling with: Error in localWindow(xlim, ylim, log, asp, ...) : formal argument "cex" matched by multiple actual arguments Now a bit…
January
  • 16,320
  • 6
  • 52
  • 74
12
votes
1 answer

R: Change value of an argument in ellipsis and pass ellipsis to the other function without using list() and eval()

I am looking for a universal way to change a value of an argument inside ellipsis and pass it to the other function. I know an ugly solution for that, which looks like this: test <- function(...) { a <- list(...) a[['y']] <- 2 …
user1603038
  • 2,103
  • 3
  • 19
  • 29
11
votes
2 answers

CSS text-overflow - apply ellipsis if text extends (n)th line

I'm using the following code to to prevent text from overflowing to a new line: .info-box{ text-overflow: ellipsis; white-space: nowrap; overflow: hidden; height: 3em; width: 300px; font-size: 1em; line-height: 1em; } This works, as…
stephenmurdoch
  • 34,024
  • 29
  • 114
  • 189
11
votes
3 answers

Get PATH environment variable in PowerShell

I want to check the PATH environment variable in PowerShell I've tried Get-ChildItem env:path I want to get the complete path, but get only a very small part of it. How much I get depends on the width of the PowerShell window, e.g. C:\Program Files…
11
votes
1 answer

What should ellipsis in attribute-list in C++ be used for?

In C++ reference I found information about allowed syntax of attributes in C++, it is: [[attribute-list]] [[ using attribute-namespace : attribute-list ]] "where attribute-list is a comma-separated sequence of zero or more attributes (possibly…
baziorek
  • 2,502
  • 2
  • 29
  • 43
11
votes
4 answers

Is va_list still used in C++? Or is it encouraged to use template?

In C, the only way to define a variable length of arguments is declaring its prototype with a ellipsis and use va_list, va_start, va_arg, va_end to extract them. Just like the printf series and the scanf series do. In C++11, a new approach was…
iBug
  • 35,554
  • 7
  • 89
  • 134
11
votes
2 answers

How to truncate long text with ellipsis but always show icon after ellipsis

What I'm trying to accomplish is a title which fills its available parent div width, but if its copy doesn't fit in the div it should truncate with ellipsis. Additionally it should also have an icon after it, which shouldn't disappear on truncation,…
Modestos Kaffes
  • 178
  • 3
  • 9
11
votes
1 answer

Is there a keyboard shortcut for the ellipsis buttons of the Project Options in the Delphi IDE

The Project Options in the Delphi IDE has a few option (like the Search Path) each with an ellipsis button (the one on the right having only three dots ... in the image below) to pop-up a dialog. What keyboard shortcut activates that button?
Jeroen Wiert Pluimers
  • 23,965
  • 9
  • 74
  • 154
11
votes
1 answer

R: using a list for ellipsis arguments

I have run into a situation where I need to take all the extra arguments passed to an R function and roll them into an object for later use. I thought the previous question about ellipses in functions would help me, but I still can't quite grasp how…
JD Long
  • 59,675
  • 58
  • 202
  • 294
11
votes
3 answers

How to expand an ellipsis (...) argument without evaluating it in R

I need a function that accepts an arbitrary number of arguments and stores them in a variable as an expression without evaluating them. I managed to do it with match.call but it seems a little "kludgy". foo <- function(...) { expr <- match.call() …
Ernest A
  • 7,526
  • 8
  • 34
  • 40
10
votes
5 answers

text-overflow is not working when using display:flex

.flex-container { display: flex; text-overflow: ellipsis; overflow: hidden; text-align: left; }

Flexible Boxes

ThisIsASampleText
Output: ThisIsASamp …
Beginner
  • 193
  • 1
  • 8
10
votes
1 answer

How to use ellipsis in a table cell?

chobo2
  • 83,322
  • 195
  • 530
  • 832
10
votes
3 answers

Make text-overflow ellipsis work similary in firefox and chrome

I've created a layout to display some articles captions, and their statuses. The box for article name has fixed width, and I'm using text-overflow:ellipsis to cut too long articles names. Also, I'm adding lightgrey dotted line at the end of…
MihanEntalpo
  • 1,952
  • 2
  • 14
  • 31
10
votes
4 answers

css - multi line line-clamp (ellipsis) doesn't work

problem image I applied this class to h3 tag. .ellipsis-2 { $lines: 2; $line-multiple: 1.3; $font-size: 1em; display: block; display: -webkit-box; max-height: $font-size * $line-multiple * $lines; line-height: $font-size *…
hagfish1210
  • 115
  • 1
  • 1
  • 7
10
votes
2 answers

Extract names of dataframes passed with dots

One can use deparse(substitute()) combination to extract the parameter name inside the function like this function names_from_dots <- function(...) { deparse(substitute(...)) } data(iris) data(swiss) names_from_dots(iris) #[1]…
Marcin
  • 7,834
  • 8
  • 52
  • 99