Questions tagged [regions]
172 questions
91
votes
4 answers
Regions in TypeScript
In my JavaScript (.js) files, I use a Visual Studio 2012 plugin for regions (here) like this:
//#region "My Region"
//Code here
//#endregion "My Region"
I would also like to have regions in TypeScript (.ts) files as well. Is this a possibility…

Gaff
- 5,507
- 3
- 38
- 49
79
votes
7 answers
notepad++ user defined regions with folding
I can't figure out how to configure notepad++ to display regions for user defined keywords.
I have a big trace file which shows the start and the end of a procedure.
The trace file looks like this:
Beginn abc.def;
...
Beginn ghi.jkl;
...
…

Stephan Schielke
- 2,744
- 7
- 34
- 40
26
votes
7 answers
Hiding the regions in Visual Studio
I know VS code folding issues are an old chestnut, but I haven't been able to find this in all the other discussions I have browsed through:
We have a team of C# guys, some love regions and others hate them and we don't seem to have much middle…

KevinT
- 3,094
- 4
- 26
- 29
22
votes
2 answers
Emacs technique for comparing sections of documents?
I'd like to be able to open two windows in Emacs, select a region of text in each window, and get a comparison of the difference between the two selections.
This would be very handy for a large-scale maintenance project, where I'm working on a…

gmc444
- 241
- 2
- 5
18
votes
1 answer
Is there a way to create a complex polygon shape from any image in CSS for use in regions property?
I'm trying to find a way to convert any black image into a polygon shape.
The problem I'm trying to solve consists of two steps:
Convert image into a polygon
Fill the polygon with text
I'm struggling with the first step. As I haven't found any…

achudars
- 1,486
- 15
- 25
17
votes
3 answers
Navigate to a region quickly
Superfluous qualifier: This is probably a silly question, but...
Using VB.NET and / or C#:
Is there a way to jump to a region quickly, similar to the way you can choose a class and find functions / methods / events from drop-down lists? I have…

Scott Solmer
- 3,871
- 6
- 44
- 72
16
votes
4 answers
How to change the color of a #region in Visual Studio's 2008
I maybe going mad, but for the life of me I can't find the option to change the colour of collapsed region's in VS2008.
For example if I have the following code:
#region Test Region
CallSomeCode();
#endregion
If I now collapse that region it has…

Oliver Hume
- 489
- 1
- 7
- 19
16
votes
1 answer
gnu linker section of non-contiguous memory region
I'm trying to write a linker script to write one section content into two non-contiguous memory regions.
I have found an old thread in this mail list about this:
"ld linker script and non-contiguous memory…

dispatcher
- 223
- 3
- 6
14
votes
4 answers
How do I turn on collapsible regions for markup in .cshtml (razor pages) visual studio 2012?
In visual studio 2010 markup in MVC3 and ASPX pages was collapsible (by closing tag) however it does not seem to be working in visual studio 2012. Anyone know how to get it working? I cant find it in the options...
:-)

Exitos
- 29,230
- 38
- 123
- 178
14
votes
6 answers
Get RegionInfo by country name?
I want to be able to get RegionInfo by doing the following:
new RegionInfo("United Kingdom");
but this throws an exception and says that it is not recognised.
This page on RegionInfo says that an exception is thrown if 'name is not a valid…

DevDave
- 6,700
- 12
- 65
- 99
12
votes
1 answer
On which iOS devices exactly is region monitoring supported?
From what I can interpret from the runtime requirements of sample region monitoring code of Apple, region monitoring is available on iPhone 4, iPad 2 Wifi + 3G or later. So I'm assuming that it's not available on iPad1 with 3G, or iPhone 3G/3GS.
Is…

aslı
- 8,740
- 10
- 59
- 80
11
votes
1 answer
Country/State/City Database?
Possible Duplicate:
Database of Countries and their Cities
Ok, this one is a non technical question. I am creating a business directory and I'd like to categorize listings by location. Instead of giving users an option to enter the location, I am…

Naif Amoodi
- 121
- 1
- 1
- 3
10
votes
2 answers
List of world countries, states and their counties / districts / regions
Please suggest sites for downloading list of world countries, states and their counties / districts / regions.
No need for cities.

Rose
- 195
- 2
- 3
- 8
10
votes
2 answers
Regional API Gateway with CloudFront
Amazon released new feature - to support regional api endpoints
Does it mean I can deploy my same API code in two regions which sends request to Lambda micro-services? (It will be two different Https endpoints)
And have CloudFront distribute the…

Some Java Guy
- 4,992
- 19
- 71
- 108
10
votes
4 answers
AWS S3 Bucket with Multiple Regions
I have an AWS S3 bucket which is set for the US Standard region but I want it to work in Singapore too. I have researched but could not find a way for the same bucket to work i multiple regions.
It would be great if someone could find a…

Maanit
- 316
- 2
- 4
- 14